Utsav Oza
d1241a8d06
Fix ./mach build --release --with-layout-2020
2020-06-10 22:34:24 +05:30
Utsav Oza
15fd256302
Store resolved font style in canvas context state
2020-06-10 22:10:44 +05:30
Utsav Oza
43051c7bf3
Fix ./mach build --release --with-layout-2020
2020-06-10 22:10:43 +05:30
Martin Robinson
89855afa4d
layout_2020: Tag fragments with their pseudo content type
...
This will allow us to answer queries and properly handle animations in
the future for fragments generated for pseudo content.
2020-06-06 17:25:08 +02:00
Simon Sapin
c43ab0c267
Rename BoxTreeRoot/FragmentTreeRoot to BoxTree/FragmentTree
2020-05-15 13:25:35 +02:00
Martin Robinson
9c7b1ae715
layout_2020: Add initial support for getComputedStyle
...
This implementation is more-or-less on par with the one from layout_2013
and in some cases better. There are still some cases where we don't
return the correct "resolved value," but this is enough to test
animations and transitions.
2020-05-11 20:14:01 +02:00
Anthony Ramine
c10e839924
Don't go through the layout thread to retrieve a node's primary style
2020-04-07 14:34:47 +02:00
Anthony Ramine
04af32128c
Add a 'dom lifetime to GetLayoutData
2020-03-26 13:17:46 +01:00
Fernando Jiménez Moreno
c4276aa27e
Fix rebase issues and run Prettier on layout viewer code
2020-02-21 11:11:00 +01:00
Martin Robinson
fa7839270d
Add layout_2020 support for NodeGeometryQuery and ContentBoxQuery
2020-02-11 14:02:19 +01:00
Martin Robinson
1cd772fe5f
Answer content box queries for layout_2020 for the root element
...
This isn't correct yet, but it is necessary to give a value in order for
scrolling from script to work. Later this should give an accurate
content box response as well as work for non-root elements.
2020-01-21 15:29:23 +01:00
Josh Matthews
fd260f78c8
dom: Calculate the viewport size of iframes when they are first added to the tree.
2019-11-06 16:13:55 -05:00
Simon Sapin
3e6489f543
Remove layout_2020::display_list, use WebRender display lists instead
2019-09-07 19:38:44 +02:00
Anthony Ramine
053e361e2f
Remove more stuff from layout_2020
2019-08-13 13:45:05 +02:00
Anthony Ramine
f8341daf95
Fix compilation errors due to the rebase
...
It's too complicated to make all the commits in that branch compile properly.
2019-08-01 13:50:52 +02:00
Anthony Ramine
317d700f5d
Remove most of the things in layout 2020
...
We keep mostly the query system. There is probably more to delete but
that's a good start I think.
2019-07-31 17:09:17 +02:00
Anthony Ramine
4846d76e82
Make layout_2020 be layout_2013
2019-07-31 17:09:16 +02:00