aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/css
Commit message (Collapse)AuthorAgeFilesLines
...
* Incremental Style RecalcClark Gaebel2014-10-093-56/+78
| | | | | | | | | | | | | | | | | | | This patch puts in the initial framework for incremental reflow. Nodes' styles are no longer recalculated unless the node has changed. I've been hacking on the general problem of incremental reflow for the past couple weeks, and I've yet to get a full implementation that actually passes all the reftests + wikipedia + cnn. Therefore, I'm going to try to land the different parts of it one by one. This patch only does incremental style recalc, without incremental flow construction, inline-size bubbling, reflow, or display lists. Those will be coming in that order as I finish them. At least with this strategy, I can land a working version of incremental reflow, even if not yet complete. r? @pcwalton
* layout: Mark the styles of elements with pseudos as unshareable.Patrick Walton2014-10-081-4/+10
| | | | | Makes multiple `<br>` elements work, since those are implemented via `before` pseudos.
* Use string-cache's Namespace typeKeegan McAllister2014-09-291-6/+5
|
* Eliminate servo_util::atomKeegan McAllister2014-09-291-1/+1
| | | | We only needed this for Encodable, and now we use JSTraceable instead.
* Merge pull request #3492 from pcwalton/clear-generated-content-tablebors-servo2014-09-261-3/+3
|\ | | | | | | | | | | layout: Support any `display` property in generated content, and allow Reviewed-by: glennw
| * layout: Support any `display` property in generated content, and allowPatrick Walton2014-09-261-3/+3
| | | | | | | | | | | | tables to clear floats. Improves the GitHub header.
* | Remove unneeded clones and add some comments.Glenn Watson2014-09-271-0/+4
| |
* | Improve acid2. Fix line height calculation. Text fragments get correct ↵Glenn Watson2014-09-261-19/+28
|/ | | | | | | | | enclosing element style. * Enabled acid2 on mac + linux. Updated the reference image. The only difference from the real acid2 now is the paint order and a 1 pixel horizontal offset on the nose. * Change line-height to be calculated correctly. * Apply enclosing element style to text fragments.
* Eliminate warningsKeegan McAllister2014-09-202-5/+5
|
* layout: Remove `layout/extra.rs`.Patrick Walton2014-09-181-1/+0
| | | | Also, rename a few methods in layout that arguably had confusing names.
* Try to unbreak the build by removing unused importPatrick Walton2014-09-181-1/+0
|
* Fixed #3386.Clark Gaebel2014-09-181-0/+1
|
* Revert "script: Use atom comparison in more places, especially for ↵Josh Matthews2014-09-181-5/+6
| | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d.
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-09-171-6/+5
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Added a bloom filter to CSS selector matching.Clark Gaebel2014-09-151-10/+94
|
* Cargoify servoJack Moffitt2014-09-083-0/+678