gecko-dev/servo/components/layout
Martin Robinson 1a27a5a33d servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton
Instead of only promoting flows with positioned fragments to containing
blocks, also do this for flows which have the transform, perspective or
filter properties set. This is what the spec requires and also fixes
some failing tests. It will allow us to stop creating stacking contexts
for overflow:hidden and overflow:scroll flows.

Fixes #18091.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #18091  (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 12607531d812ee87e0b4a70f961c1aa3ec4c414d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d7e86671954303af12faf807759c6a27d5570267
2017-08-17 19:42:20 -05:00
..
animation.rs servo: Merge #18046 - Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) (from servo:rustup); r=emilio 2017-08-15 07:31:04 -05:00
block.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
Cargo.toml servo: Merge #17775 - Replace all uses of the style::stylearc alias with servo_arc (from michael-p:rename-stylearc-to-servo-arc); r=emilio 2017-07-19 06:03:17 -07:00
construct.rs servo: Merge #18112 - Use the is_absolute_containing_block method everywhere (from mrobinson:containing-block-helper); r=mbrubeck 2017-08-16 19:18:48 -05:00
context.rs servo: Merge #17810 - Script paint worklets speculative evaluation (from asajeffrey:script-paint-worklets-speculative-evaluation); r=emilio 2017-07-31 13:13:26 -05:00
data.rs servo: Merge #17025 - script/layout: Stop doing unsafe transmutes between refcell references (from emilio:layout-data); r=jdm 2017-05-25 19:58:47 -05:00
display_list_builder.rs servo: Merge #18118 - Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox" (from servo:oops-webgl); r=emilio 2017-08-17 00:26:08 -05:00
flex.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
floats.rs servo: Merge #17390 - Untry (from servo:untry); r=nox 2017-06-18 05:55:11 -07:00
flow_list.rs servo: Merge #17390 - Untry (from servo:untry); r=nox 2017-06-18 05:55:11 -07:00
flow_ref.rs servo: Merge #13740 - Migrated -Z trace-layout to serde_json (from shinglyu:layout_serde); r=jdm 2016-11-07 02:15:03 -06:00
flow.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
fragment.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
generated_content.rs servo: Merge #18004 - Clean up and simplify layout traversal code (from mbrubeck:layout-cleanup); r=pcwalton 2017-08-08 14:04:23 -05:00
incremental.rs servo: Merge #16458 - layout: Force reflow in the sequential fallback of block format context (from stshine:sequential-fallback); r=pcwalton,emilio 2017-04-22 23:55:22 -05:00
inline.rs servo: Merge #18112 - Use the is_absolute_containing_block method everywhere (from mrobinson:containing-block-helper); r=mbrubeck 2017-08-16 19:18:48 -05:00
layout_debug.rs servo: Merge #15588 - Update serde to 0.9 (from servo:serde); r=SimonSapin 2017-02-18 12:10:26 -08:00
lib.rs servo: Merge #17775 - Replace all uses of the style::stylearc alias with servo_arc (from michael-p:rename-stylearc-to-servo-arc); r=emilio 2017-07-19 06:03:17 -07:00
linked_list.rs servo: Merge #11930 - Remove some util stuff (from nox:die-util-die); r=SimonSapin 2016-06-29 15:37:42 -05:00
list_item.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
model.rs servo: Merge #17767 - stylo: Fuse ServoStyleContext and ServoComputedValues (from Manishearth:stylo-fuse); r=bholley 2017-07-17 19:44:25 -07:00
multicol.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
opaque_node.rs servo: Merge #11754 - Move ServoLayoutNode and related structs to script (from Ms2ger:wrapper-traits-prep2); r=nox 2016-06-20 12:54:20 -05:00
parallel.rs servo: Merge #18004 - Clean up and simplify layout traversal code (from mbrubeck:layout-cleanup); r=pcwalton 2017-08-08 14:04:23 -05:00
persistent_list.rs servo: Merge #9713 - Move util::persistent_list to layout (from timvandermeij:move-persistent-list); r=nox 2016-02-20 23:46:19 +05:01
query.rs servo: Merge #17783 - stylo: Bug 1374233 - Clamp interpolated values for properties which need to be restricted (from BorisChiou:stylo/animation/restrictions); r=nox 2017-08-07 11:05:17 -05:00
sequential.rs servo: Merge #18046 - Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) (from servo:rustup); r=emilio 2017-08-15 07:31:04 -05:00
table_caption.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
table_cell.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
table_colgroup.rs servo: Merge #17923 - Fix fixed position items with parents with CSS clips (from mrobinson:fixed-position-css-clip); r=emilio 2017-08-04 11:17:24 -05:00
table_row.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
table_rowgroup.rs servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton 2017-08-17 19:42:20 -05:00
table_wrapper.rs servo: Merge #18004 - Clean up and simplify layout traversal code (from mbrubeck:layout-cleanup); r=pcwalton 2017-08-08 14:04:23 -05:00
table.rs servo: Merge #18004 - Clean up and simplify layout traversal code (from mbrubeck:layout-cleanup); r=pcwalton 2017-08-08 14:04:23 -05:00
text.rs servo: Merge #18046 - Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) (from servo:rustup); r=emilio 2017-08-15 07:31:04 -05:00
traversal.rs servo: Merge #18004 - Clean up and simplify layout traversal code (from mbrubeck:layout-cleanup); r=pcwalton 2017-08-08 14:04:23 -05:00
webrender_helpers.rs servo: Merge #18118 - Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox" (from servo:oops-webgl); r=emilio 2017-08-17 00:26:08 -05:00
wrapper.rs servo: Merge #17744 - script: Move the layout_wrapper outside of script (from emilio:ensure-data); r=nox 2017-07-15 07:44:08 -07:00