aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_colgroup.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement offsetParent/Top/Left/Width/Height.Glenn Watson2015-08-031-0/+1
|
* Replace the StyledNode trait with inherent methods.Ms2ger2015-07-271-1/+0
|
* Use euclid from crates.ioecoal952015-06-191-1/+1
|
* layout: Allow inline elements to be containing blocks forPatrick Walton2015-05-131-1/+6
| | | | | | | | | | absolutely-positioned elements. This also implements a little bit of the infrastructure needed to support for fragmentation via support for multiple positioned fragments in one flow. Improves Google.
* Stop using the deprecated range function.Ms2ger2015-04-221-1/+1
|
* Use u32 for TableColumnFragmentInfo::span.Ms2ger2015-04-021-1/+1
|
* Replace unsafe_blocks by unsafe_code.Manish Goregaokar2015-03-211-1/+1
|
* layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1Patrick Walton2015-03-091-0/+2
| | | | | | | | | | | | | | § 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases.
* Get rid of servo_utilDan Fox2015-03-051-1/+1
|
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-1/+1
|
* End the libstyle 'pub use' madness.Simon Sapin2015-01-301-2/+2
|
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-1/+1
|
* Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-1/+1
|
* layout: Explicitly thread border box dimensions and relative offsetsPatrick Walton2015-01-041-4/+5
| | | | | | | | | | through display list building. The old `flow_origin` concept was ill-defined (sometimes the border box plus the flow origin, sometimes including horizontal margins and sometimes not, sometimes including relative position and sometimes not), leading to brittleness and test failures. This commit reworks the logic to always pass border box origins in during display list building.
* layout: Paint stacking contexts' overflow areas properly.Patrick Walton2015-01-041-3/+8
| | | | | This was making `box-shadow` not show up in many cases, in particular, but the effects were not limited to that.
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-5/+5
|
* layout: Incrementalize reflow of block formatting contexts impacted byPatrick Walton2014-11-181-2/+2
| | | | | | | | floats, and make float placement idempotent. This moves float placement outside sequential block size computation. Improves the maze solver.
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-2/+2
|
* Have ContentBox(es)Queries consult the flow treeMartin Robinson2014-11-031-1/+4
| | | | | | | | | Instead of looking at the display tree, have ContentBox(es)Query consult the flow tree. This allow optimizing away parts of the display tree later. To do this we need to be more careful about how we send reflow requests, only querying the flow tree when possible. Fixes #3790.
* layout: Make incremental reflow more fine-grained by introducing "reflowPatrick Walton2014-10-311-0/+4
| | | | | | out-of-flow" and "reconstruct flow" damage bits. This is needed for good performance on the maze solver.
* layout: Promote absolute positioning, floatedness, and clearance intoPatrick Walton2014-10-281-1/+3
| | | | | | flags to avoid virtual calls. These were showing up really high in the maze solver profile.
* layout: Shrink fragments down from 448 bytes down to 128 bytes.Patrick Walton2014-10-231-1/+2
| | | | 16% performance improvement in layout (!)
* layout: Largely move display list building out to a separate file.Patrick Walton2014-10-221-0/+3
| | | | `layout::fragment` and `layout::block` were getting too big.
* Fix image_dynamic_remove reftest with incremental layout turned outClark Gaebel2014-10-171-1/+1
| | | | | | | | This also adds some extra debugging infrastructure which I found useful tracking this bug down. A regression in the br reftests is also uncovered by this patch, which I'll work on fixing next. r? @pcwalton
* layout: Rewrite intrinsic inline-size and automatic table layout toPatrick Walton2014-10-141-15/+16
| | | | | | | | | | | match L. David Baron's work-in-progress specification. http://dbaron.org/css/intrinsic/ Column spans are not yet supported. This effectively adds support for percentage widths, and it also fixes many bugs, improving the layout of Google and Wikipedia.
* layout: Introduce support for legacy presentational attributes to selectorPatrick Walton2014-10-141-1/+1
| | | | | | | | matching, and use it for `<input size>` and `<td width>`. This implements a general framework for legacy presentational attributes to the DOM and style calculation, so that adding more of them later will be straightforward.
* layout: Implement the correct hypothetical box behavior forPatrick Walton2014-10-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | absolutely-positioned elements declared with `display: inline`. Although the computed `display` property of elements with `position: absolute` is `block`, `position: absolute; display: inline` can still behave differently from `position: absolute; display: block`. This is because the hypothetical box for `position: absolute` can be at the position it would have been if it had `display: inline`. CSS 2.1 § 10.3.7 describes this case in a parenthetical: "The static-position containing block is the containing block of a hypothetical box that would have been the first box of the element if its specified 'position' value had been 'static' and its specified 'float' had been 'none'. (Note that due to the rules in section 9.7 this hypothetical calculation might require also assuming a different computed value for 'display'.)" To handle this, I had to change both style computation and layout. For the former, I added an internal property `-servo-display-for-hypothetical-box`, which stores the `display` value supplied by the author, before the computed value is calculated. Flow construction now uses this value. As for layout, implementing the proper behavior is tricky because the position of an inline fragment in the inline direction cannot be determined until height assignment, which is a parallelism hazard because in parallel layout widths are computed before heights. However, in this particular case we can avoid the parallelism hazard because the inline direction of a hypothetical box only affects the layout if an absolutely-positioned element is unconstrained in the inline direction. Therefore, we can just lay out such absolutely-positioned elements with a bogus inline position and fix it up once the true inline position of the hypothetical box is computed. The name for this fix-up process is "late computation of inline position" (and the corresponding fix-up for the block position is called "late computation of block position"). This improves the header on /r/rust.
* Adds support for table layout trace and updates viewer for tables.Glenn Watson2014-09-191-0/+4
|
* Cargoify servoJack Moffitt2014-09-081-0/+88