Commit Graph

4890 Commits

Author SHA1 Message Date
Dongie Agnir
a1c7fb0be8 servo: Merge #7990 - Add newline so code sample is parsed correctly (from dagnir:formatting-fix); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: efdaf5e7e5923d1078ed7b12b96325e2411cc3d2
2015-10-13 02:12:28 -06:00
Corey Farwell
7ef53c6ece servo: Merge #7987 - Fix issues found by rust-clippy (from frewsxcv:clippy); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: eb7039d04d4c83800ba9d92dc251222f79b83040
2015-10-12 18:33:30 -06:00
Matt Brubeck
fd3bcc3b9b servo: Merge #7933 - Replace libpng and stb_image with PistonDevelopers/image (from mbrubeck:piston-image); r=glennw
Fixes #3368. r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 0f597d389052500d9b76b9f9f89e873e6f809ab1
2015-10-12 15:06:31 -06:00
Simon Martin
3873b7794f servo: Merge #7957 - Issue #7905: Restore "headless" build on not Linux platforms (from simartin:ticket_7905); r=mbrubeck
Fix https://github.com/servo/servo/issues/7905 by implementing WindowMethods' native_display  in headless mode on "not Linux" platforms.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6303126e0c48e9c83aa7edd813079a6a360837b2
2015-10-12 12:02:43 -06:00
Glenn Watson
4bbac71ac7 servo: Merge #7921 - Update RemoveIFrame to use pipeline id rather than subpage (from glennw:subpage-fixes-2); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5ffeb3b95bfc90079622fa65fa7f6dc4fff25350
2015-10-12 07:49:26 -06:00
Corey Farwell
bdb575df39 servo: Merge #7976 - Cleanup code that was warned by rust-clippy (from frewsxcv:clippy); r=jdm
[whitespace agnostic diff](https://github.com/servo/servo/pull/7976/files?w=1)

Source-Repo: https://github.com/servo/servo
Source-Revision: ac1b595609a08c30d6c13dfe6e7705f061bbc010
2015-10-12 04:37:42 -06:00
Rahul Sharma
c2f189a984 servo: Merge #7973 - convert match to if let for location header check #7969 (from creativcoder:fix_issue_7969); r=jdm
@jdm Hi, very eager for my first pull request to Servo. Please review the changes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8dff3be956e7c4d8bc129491e1dfb5295c0027f1
2015-10-12 03:13:28 -06:00
Connor Imes
1145c446b0 servo: Merge #7961 - Update dependencies with fixes for native ARM builds (from connorimes:arm-crate-updates); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 71c5587856048708906cf3adb6952116f224d40e
2015-10-12 01:42:25 -06:00
Corey Farwell
6a9c0443a4 servo: Merge #7854 - Implement deleteRow and insertRow for table section elements (from frewsxcv:htmltablesectionelement-insertrow-deleterow); r=nox
Implement deleteRow and insertRow for <table> element

Continued from #6936

Source-Repo: https://github.com/servo/servo
Source-Revision: 292dbfe809ddf048065f790071ea2022406536d7
2015-10-11 16:44:13 -06:00
Corey Farwell
4eac942022 servo: Merge #7974 - Use Travis container-based infra for test-tidy (from frewsxcv:travis); r=jdm
I wasn't aware one could specify options like `sudo` and `services` on a per build-environment basis. Since the container-based builds are faster than normal builds, we should utilize it for test-tidy

Source-Repo: https://github.com/servo/servo
Source-Revision: 9c1cb9f61e3d7a34fa49355d28d9edc236c0690f
2015-10-11 09:17:25 -06:00
Gökberk Yaltıraklı
7afd007050 servo: Merge #7971 - Use typed header API instead of set_raw in set_default_accept_encoding (from gkbrk:fix_7970); r=nox
Fixes #7970

Source-Repo: https://github.com/servo/servo
Source-Revision: 7b904ef6fb2147841366b4adf07327bc1cdbb1be
2015-10-11 03:20:14 -06:00
Corey Farwell
41ad1c9129 servo: Merge #7958 - Consolidate magic number representing max unsigned long (from frewsxcv:consolidate-magic-number); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 02d889494580d2b387a42d3a94360e40dce96282
2015-10-10 15:00:39 -06:00
Corey Farwell
f5858ccd06 servo: Merge #7953 - Implement 'align' attribute for <div> elements (from frewsxcv:htmldivelement-align); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: babeed998d297d2d7badc06ba9c8f90e42239b4f
2015-10-10 14:11:33 -06:00
David Raifaizen
086a51ceaf servo: Merge #7949 - Making map+clone more succinct with cloned (from craftytrickster:map-clone-to-cloned); r=nox
https://github.com/servo/servo/issues/7906

Source-Repo: https://github.com/servo/servo
Source-Revision: 04266f237a807ed3abbb678cbda0f5a8439171c7
2015-10-10 13:18:56 -06:00
Anthony Ramine
eafe1e3613 servo: Merge #7918 - Derive PartialEq on the style Font structure (from nox:partialeq-font); r=mbrubeck
We check the hash first.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0f8493a5669d8c6c29d07881534e144bfc87b511
2015-10-10 12:26:07 -06:00
Corey Farwell
9db4f66ca0 servo: Merge #7955 - Add 'listing' alias for <pre> elements (from frewsxcv:listing-pre); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: b34b82537acfb7cd9bd8bcecd5eb49528020b1ab
2015-10-10 11:08:14 -06:00
Corey Farwell
795e875ef6 servo: Merge #7960 - Replace usage of old-style WHATWG spec links (from frewsxcv:update-spec-links); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 4052a22a1c6826cb18f03de9d2f6aed82d809e71
2015-10-10 10:17:52 -06:00
Andriy Kunitsin
d8ffd6e1db servo: Merge #7948 - Changed dom_class type to Option<&'static DOMClass> to fix #7942 (from kunitsyn:master); r=Manishearth
I have a feeling that converting `Option<&T>` to `*const libc::c_void` could be less explicit.
Was there any way to do it shorter?

Source-Repo: https://github.com/servo/servo
Source-Revision: 9cccd98254191b1663dcaee9010eee63fa8074a3
2015-10-09 23:22:59 -06:00
Pierre Chevalier
eeac1823f4 servo: Merge #7945 - Refactor away unnecessary use of regex (from pierrechevalier83:fix_issue_7914); r=jdm
We don't need regex matching since ": &Vec<" doesn't
contain any special character.

New code reads better.

Fixes #7914.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1192efed505ca19a395f22cd5e5733e8c57a6e82
2015-10-09 21:22:06 -06:00
Avi Weinstock
5dcd1c9576 servo: Merge #7952 - Update clipboard to a version with chdir("/") removed (from aweinstock314:update-clipboard-20151009); r=mbrubeck
Relevant links:
http://logs.glob.uno/?c=mozilla%23servo&s=9+Oct+2015&e=10+Oct+2015#c279844
ef4cf77c9c

Source-Repo: https://github.com/servo/servo
Source-Revision: 28969f1f33cd0144fbdb9dc3cbd68dbb4b79352f
2015-10-09 19:52:13 -06:00
Martin Robinson
eb37118a1e servo: Merge #7891 - Properly size synthesized layers (from mrobinson:display-list-paint-layer); r=pcwalton
Layers that are composed of several stacking contexts that need to be
rendered on top of other layered content need synthesized layers.
Previously, these layers were placed into a stacking context that was
the same size as their parent. This patch creates a new type of
PaintLayer which simply holds a display list. The layer is sized to the
bounds of the DisplayList and its children are positioned relative to
the parent stacking context.

This will also be useful in the future, when items outside of
StackingContexts are given their own layer for render order purposes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6d52bdf4ffd5479780df4a3fb0ff07bd7378720e
2015-10-09 17:00:21 -06:00
Louis Chan
87d5049829 servo: Merge #7939 - Use typed headers API instead of set_raw (from iawaknahc:issue-7924); r=Manishearth
fix https://github.com/servo/servo/issues/7924

Source-Repo: https://github.com/servo/servo
Source-Revision: 48887acff194047677f03d2be6cf151ecab3e2e3
2015-10-09 15:01:22 -06:00
Paul Rouget
f320ac97d4 servo: Merge #7909 - Snap to screen pixels instead of px (from paulrouget:subpixelPos); r=mbrubeck
Fixes #7904

Source-Repo: https://github.com/servo/servo
Source-Revision: 8ef8c53d2a3e8a54a2bfc98e7e1d71d609098f62
2015-10-09 14:10:44 -06:00
Alex Crichton
28e8a526a8 servo: Merge #7936 - Fix spurious rebuilds of the script crate (from alexcrichton:script-rebuild); r=jdm
The script crate currently has a build script, and Cargo will consider all files
in the script crate as inputs to the build script as it otherwise doesn't know
[what the input files are][cargo-1162]. This means that if any file in the
source tree of the script crate changes (or is created) then Cargo will think it
needs to re-run the build script and rebuild the crate.

[cargo-1162]: https://github.com/rust-lang/cargo/issues/1162

The build script of the script crate is invoking python, and consequently Python
is generating some bytecode files in the source tree. On the second build of
Servo, Cargo will see these new files, think that something has changed, and
will re-run the build script of the script crate.

This change passes the `-B` flag to python to avoid generating these bytecode
files, which should avoid tampering with the source tree and appease Cargo by
ensuring that it doesn't get rebuilt.

---

As a helpful tip to if this comes up again, this was discovered by using the
changes in rust-lang/cargo@c447e9d plus the change in rust-lang/cargo#2044. Once
`RUST_LOG` was set to `cargo::ops::cargo_rustc::fingerprint=info`, the second
run of `./mach build` printed out:

```
precalculated components have changed:
  1444364448.000000000s (/build/servo/components/script/dom/bindings/codegen/parser/WebIDL.pyc) !=
  1444364235.000000000s (/build/servo/components/script/document_loader.rs)
```

Which should help easily diagnose these kinds of problems in the future!

Source-Repo: https://github.com/servo/servo
Source-Revision: bc5444067f7614ab7e3c83d8e131800d0db817b2
2015-10-09 13:23:41 -06:00
Louis Chan
fd2d776494 servo: Merge #7835 - Implement a quota of 5MB per origin for localstorage and sessionstorage (from iawaknahc:webstorage-quota); r=jdm
PR for https://github.com/servo/servo/issues/6739

Source-Repo: https://github.com/servo/servo
Source-Revision: 06e0447e8289d723918a71e1ab39712c3af210d3
2015-10-09 12:36:47 -06:00
Antonio de Luna
d53caeab1e servo: Merge #7938 - removed clone from respond_with_headers fixes #7922 (from A-deLuna:remove-clone-from-respond_with_headers-fixes-#7922); r=Ms2ger
fixes #7922

Source-Repo: https://github.com/servo/servo
Source-Revision: ec10b1708ee4579886006b3248fdff7b21df4d0b
2015-10-09 11:40:33 -06:00
Ms2ger
1c3725c38e servo: Merge #7925 - Implement HTMLIFrameElement::pipeline_id on LayoutJS<HTMLIFrameElement> (from Ms2ger:iframe-pipeline-layout); r=glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 12139f73ef0be864bac00dc106832a9f45634cb2
2015-10-09 09:49:08 -06:00
Jim Berlage
f76cf699aa servo: Merge #7885 - Creates empty string when passed null (from jimberlage:7858/null-message); r=Ms2ger
This should fix #7858.  An empty `USVString` is now used when `data` is `None`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c81d9ab28132cff1d792b5c99e98bea6f7870bd
2015-10-09 09:02:45 -06:00
Corey Farwell
2157cac781 servo: Merge #7841 - Implement <body>'s "text" attribute (from frewsxcv:htmlbodyelement-text); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 1029feb55d004e4417dd6cfdcb864d18871ae74a
2015-10-09 06:11:46 -06:00
Pierre Chevalier
abc6fc4ff8 servo: Merge #7932 - Refactor away duplication of get_rooted functionality (from pierrechevalier83:fix_issue_7929); r=jdm
Refactor .get().map(Root::from_rooted)
and .get().map(|foo| foo.root())
to .get_rooted() on MutNullableHeap objects.

First part done mechanically with the following comand:
sed -i s/"get().map(Root::from_rooted)"/"get_rooted()"/g *.rs

Second part done manually after finding them with
git grep ".get().map("

Fixes #7929.

Source-Repo: https://github.com/servo/servo
Source-Revision: 96356a4b339af07831dec79e0084079328b43b53
2015-10-09 05:23:25 -06:00
Eli Friedman
115d4c54e5 servo: Merge #7825 - Fully implement the "align descendants" rule for div (from eefriedman:div-align); r=mbrubeck
This adds -servo-left and -servo-right to complement -servo-center.

~~This intentionally doesn't try to address issue #7301.~~  Commit added to address #7301.

Source-Repo: https://github.com/servo/servo
Source-Revision: ab42ca42967354cba08d1dca83aa99a637bd7a6b
2015-10-08 12:20:55 -06:00
Martin Robinson
1ba26da0e3 servo: Merge #7928 - Add the dump-layer-tree option to the -Z help text (from mrobinson:layer-tree-fix); r=pcwalton
I accidentally omitted this when I added the dump-layer-tree option
initially.

Fixes #7926.

Source-Repo: https://github.com/servo/servo
Source-Revision: a8ad990c6d619bc199ee25edd5bfd12e9846eb33
2015-10-08 11:23:18 -06:00
Martin Robinson
33363637c0 servo: Merge #7917 - Record reference test stdout and stderr (from mrobinson:test-stderr); r=larsbergstrom
When reference tests crash it is difficult to debug the issue, because
the stacktrace and any other output is discarded by the test harness.
Instead of discarding it, write the output to text files in the test
results directory which will make it easier to debug crashing tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: d15ea83938059a5ba754796545834930a9c0df1a
2015-10-08 10:36:09 -06:00
Corey Farwell
c17a75ed5f servo: Merge #7915 - Build Servo on Travis (from frewsxcv:travis); r=larsbergstrom
Closes #6962

Source-Repo: https://github.com/servo/servo
Source-Revision: e5b46eb919461531b8bf5a79fc0c5e6e1ec94c75
2015-10-08 09:00:28 -06:00
Martin Robinson
2bdc604c66 servo: Merge #7913 - Simplify and unify compositor shutdown code paths (from mrobinson:compositor-shutdown); r=pcwalton
Unify all compositor shutdown code paths into two methods, one which
starts the shutdown and the other that finishes it. This simplifies the
way the compositor shuts down and prevents "leaking" pixmaps when
exiting in uncommon ways.

Source-Repo: https://github.com/servo/servo
Source-Revision: 26dd1233103eb75c2e94fcc2ba34c18fa4432afc
2015-10-07 21:28:39 -06:00
Glenn Watson
9a3c41dbd9 servo: Merge #7916 - Don't check for equal image size and all white pixels for flaky tests (from glennw:flaky-mac); r=jdm
Workaround for #7730.

Source-Repo: https://github.com/servo/servo
Source-Revision: b34e8b86b83ce4404ce180d634b88d8a7aaa7348
2015-10-07 19:59:04 -06:00
Glenn Watson
9272f395c5 servo: Merge #7899 - Remove constellation round trip for subpage mapping in compositor (from glennw:subpage-fixes-1); r=pcwalton
This makes use of the new functionality that allows iframes to generate their own pipeline IDs in order to remove any knowledge of subpage ids from the compositor.

(This is the first of several commits removing subpage from parts of servo).

Source-Repo: https://github.com/servo/servo
Source-Revision: 1d617f332edd0036ca4cbc3890f1f44f57597906
2015-10-07 18:36:35 -06:00
James Graham
6148e472ce servo: Merge #7875 - Move code to exit servo after writing a screenshot out of composite_specific_target (from jgraham:composite_no_exit); r=glennw
The structure of this function was confusing, so move some parts out into the
caller where they seem like a more natural fit and add documentation of the
functions

Source-Repo: https://github.com/servo/servo
Source-Revision: e7f73fdfd822fc2f0d3c239a428c739232bdfd12
2015-10-07 17:50:23 -06:00
Emilio Cobos Álvarez
8ff28f34dd servo: Merge #7843 - webgl: Implement WebGLContextEvent and use it on context creation error (from emilio:webgl-context-event); r=jdm
spec: https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.15
Source-Repo: https://github.com/servo/servo
Source-Revision: 0b6cb92d786a438cf7d9b2ca5b199172052e29bd
2015-10-07 17:04:10 -06:00
Qeole
145fd662de servo: Merge #7911 - Fixes #7907: rendering for unescaped string "<iframe>" in doc (from Qeole:7907); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3e5b491a502af3158d77a1426fc585df43353ae9
2015-10-07 13:59:24 -06:00
Eli Friedman
78c1c7ac6e servo: Merge #7912 - Make sure to correctly destroy old layers in collect_old_layers_for_pipeline (from eefriedman:compositor-layer); r=mrobinson
The previous code would skip calling clear_all_tiles(), which led to a
panic in rust-layers. ("You should have disposed of the pixmap properly
with destroy()! This pixmap will leak!")

Ran into this messing around with pdf.js; no minimized testcase.
Maybe related to #7895.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 217c7da41304142ffaf7c02a3eb888b0f150c59d
2015-10-07 12:56:13 -06:00
Prabhjyot Singh Sodhi
11dabd9912 servo: Merge #7773 - renaming AssertRequstMustHaveHeaders to AssertRequestMustIncludeHeaders (from psdh:assertReq7647); r=jdm
Fixes #7647

Source-Repo: https://github.com/servo/servo
Source-Revision: 04f42271f88a2730ae9ecfe17952580c5885978b
2015-10-07 11:35:51 -06:00
Anthony Urena
d38f437e11 servo: Merge #7892 - Refactor html form dataset collection (from anthgur:form-data-refactor); r=jdm
Factor out FormDatum collection for `<input>`
Improve early return logic for getting the FormDatum from an `<input>`
Condense element type patterns

Proposed to close #7851

Source-Repo: https://github.com/servo/servo
Source-Revision: 94dc98717b79c12cdac6b1eba72227199850ac31
2015-10-07 08:32:44 -06:00
Corey Farwell
d0ae734b10 servo: Merge #7898 - Use the correct IDL setter for <font>.size (from frewsxcv:htmlfontelement-size-attribute-setter); r=nox
Previously, the IDL attribute would incorrectly set the `size` attribute
for `<font>` elements as `AttrValue::String`. Now it correctly sets it
as `AttrValue::Length`. Also included is a regression test.

Source-Repo: https://github.com/servo/servo
Source-Revision: 60a77defe5f3ed9420b818db1875bc726b6b6a4c
2015-10-07 07:04:28 -06:00
Ms2ger
2127faec58 servo: Merge #7903 - Add support for documenting CGAbstractMethods (from Ms2ger:codegen-docs); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 745635a706223df3d0f6db927cf1f547d948be87
2015-10-07 06:20:20 -06:00
Maciej Skrzypkowski
c939d50d97 servo: Merge #7902 - Removed unneeded pub annotations in HTMLInputElement #7897 (from mskrzypkows:HTMLInputElement_pub_refactor); r=nox
get_size method appeared to be never used so I removed it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9a12c2c06199bc0a11982949b0cb43ee8500c001
2015-10-07 05:35:14 -06:00
Ms2ger
7aa06b4cee servo: Merge #7901 - Cleanup the HTMLOptionElement#text implementation (from Ms2ger:option-text); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 84d8f65d229e748bcd0c75e998adb8432575044a
2015-10-07 04:51:14 -06:00
Michael Howell
37bfbc973f servo: Merge #7883 - Draw shadows after the background (from notriddle:master); r=pcwalton
Fixes #7872

Source-Repo: https://github.com/servo/servo
Source-Revision: 409fbafe9cdd16a2b5a25f64eae0bc11d6fc9aa1
2015-10-06 22:03:48 -06:00
Martin Robinson
5c7ac8e940 servo: Merge #7879 - Improve layer tree debugging output (from mrobinson:layer-tree-dump); r=glennw
Add an option to dump the layer tree, which activates the previously
unused layer tree debugging code. Also improve the output using the
PrintTree struct.

Previous output:
```
Layer tree:
Layer 7f63b45b2010: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 0-FragmentBody, wants_scroll_events: WantsScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(4), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(800, PhantomData)×Length(600, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: true establishes 3D context: true
  Layer 7f63b45b2290: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919922672-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(800, PhantomData)×Length(650, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: true
    Layer 7f63b45b3410: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919923248-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: FixedPosition, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(18, PhantomData),Length(10, PhantomData))) masks to bounds: false establishes 3D context: false
    Layer 7f63b45b3190: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919923872-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: FixedPosition, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(93, PhantomData),Length(10, PhantomData))) masks to bounds: false establishes 3D context: false
    Layer 7f63b45b2f10: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919924496-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: Some((PipelineId(0), SubpageId(0))) } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(168, PhantomData),Length(10, PhantomData))) masks to bounds: false establishes 3D context: false
      Layer 7f63b45b3b90: RefCell { value: CompositorData { pipeline_id: PipelineId(1), id: 0-FragmentBody, wants_scroll_events: WantsScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(3), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: Some((PipelineId(0), SubpageId(0))) } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: true establishes 3D context: true
        Layer 7f63b45b3e10: RefCell { value: CompositorData { pipeline_id: PipelineId(1), id: 140065901048256-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(4), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(58, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: true
    Layer 7f63b45b2c90: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919925168-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: Some((PipelineId(0), SubpageId(1))) } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(243, PhantomData),Length(10, PhantomData))) masks to bounds: false establishes 3D context: false
      Layer 7f63b45b2790: RefCell { value: CompositorData { pipeline_id: PipelineId(2), id: 0-FragmentBody, wants_scroll_events: WantsScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(3), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: Some((PipelineId(0), SubpageId(1))) } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: true establishes 3D context: true
        Layer 7f63b45b2510: RefCell { value: CompositorData { pipeline_id: PipelineId(2), id: 140065880076736-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(4), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(58, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: true
    Layer 7f63b45b3910: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919925168-FragmentBody-companion, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(800, PhantomData)×Length(650, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: false
    Layer 7f63b45b2a10: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919924064-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(103, PhantomData),Length(30, PhantomData))) masks to bounds: false establishes 3D context: false
    Layer 7f63b45b3690: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919924064-FragmentBody-companion, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(800, PhantomData)×Length(650, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: false
```

New output:
```
┌ Layer tree
│  ├─ Root Layer (pipeline=0) (0-FragmentBody) (800,600 at 0,0) (masks children) (3D context)
│  │  ├─ Layer (140279059771888-FragmentBody) (800,650 at 0,0) (3D context)
│  │  │  ├─ Layer (140279059772464-FragmentBody) (50,50 at 18,10) (fixed)
│  │  │  ├─ Layer (140279059773088-FragmentBody) (50,50 at 93,10) (fixed)
│  │  │  ├─ Layer (140279059773712-FragmentBody) (50,50 at 168,10)
│  │  │  │  ├─ Root Layer (pipeline=1) (0-FragmentBody) (50,50 at 0,0) (masks children) (3D context)
│  │  │  │  │  └─ Layer (140278833279472-FragmentBody) (50,58 at 0,0) (3D context)
│  │  │  ├─ Layer (140279059774384-FragmentBody) (50,50 at 243,10)
│  │  │  │  ├─ Root Layer (pipeline=2) (0-FragmentBody) (50,50 at 0,0) (masks children) (3D context)
│  │  │  │  │  └─ Layer (140279013634496-FragmentBody) (50,58 at 0,0) (3D context)
│  │  │  ├─ Layer (140279059774384-FragmentBody-companion) (800,650 at 0,0)
│  │  │  ├─ Layer (140279059773280-FragmentBody) (50,50 at 103,30)
│  │  │  └─ Layer (140279059773280-FragmentBody-companion) (800,650 at 0,0)
```

Source-Repo: https://github.com/servo/servo
Source-Revision: 507beda4c71bd6769c912eff14bb479be3dec005
2015-10-06 17:20:50 -06:00
Patrick Walton
791f7a5b16 servo: Merge #7896 - layout: Add a field in the display list for simple border radii on box shadows (from pcwalton:box-shadow-border-radii); r=mbrubeck
Only supported in WebRender (with my upcoming PR) for now.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 5eb1c04e7854d932c0d63f9e5ed4d54ee43deb9b
2015-10-06 15:46:56 -06:00