Bobby Holley
c72fffa8f8
Move children_to_process to layout.
...
We don't need this for Gecko, and it's hard to implement in that case because
there's nowhere obvious to put it (we don't plan to create TSDs for non-dirty
nodes, and non-dirty nodes can have dirty children which require the
children_to_process atomic). There are various solutions here, but punting is
the easiest.
We'll need to rethink this if/when we need to do a bottom-up traversal for
Gecko.
2016-10-08 18:20:45 -07:00
Alexandrov Sergey
9876020c22
add SVGElement, SVGGraphicsElement interfaces and SVGSVGElement element
2016-10-06 18:22:53 +03:00
Bobby Holley
687e1f701c
Rename PrivateStyleData to PersistentStyleData and use AtomicRefCell instead of RefCell as a container.
...
This allows us to eliminate the unsafe borrows. \o/
MozReview-Commit-ID: 29hpGaWUFQz
2016-10-02 19:19:52 -07:00
Simon Sapin
6d0e48f6cc
Remove some type aliases that are now just re-exports.
2016-07-20 08:42:47 +02:00
Simon Sapin
f7f81e0ed0
Use our copy of RefCell for style data.
...
This allows removing `#![feature(as_unsafe_cell)]` in geckolib
and make progress towards #11815 .
2016-06-23 16:13:49 +02:00
Ms2ger
b56821a01f
Move CSSErrorReporter to script_layout_interface.
2016-06-20 19:08:13 +02:00
Ms2ger
9e2e0ff98c
Move the remainder of layout_interface into script_layout_interface.
2016-06-20 19:08:12 +02:00
Ms2ger
2c50318ee7
Move is_image_data to script_layout_interface.
2016-06-20 19:08:11 +02:00
Ms2ger
86bfd2cc9f
Move LayoutRPC to script_layout_interface.
2016-06-20 19:08:07 +02:00
Ms2ger
68d603a6d0
Move TrustedNodeAddress to script_layout_interface.
2016-06-20 19:08:06 +02:00
Ms2ger
0d0b268138
Move LayoutNode and related traits to script_layout_interface.
2016-06-20 19:07:54 +02:00
Ms2ger
000e2de57a
Move HTMLCanvasData to script_layout_interface.
2016-06-20 19:04:41 +02:00
Ms2ger
6b847eb93a
Introduce LayoutNodeType and LayoutElementType enums.
2016-06-20 19:02:49 +02:00
Ms2ger
bea96f60e3
Introduce PartialStyleAndLayoutData.
2016-06-20 19:02:39 +02:00
Ms2ger
6aaf3e6a01
Move OpaqueStyleAndLayoutData to script_layout_interface.
2016-06-20 19:02:38 +02:00
Ms2ger
5c03dd8eb1
Introduce a script_layout_interface crate and move RestyleDamage to it.
2016-06-20 19:02:36 +02:00