Manish Goregaokar
98e53db289
Assert that cells aren't floats
2018-02-27 14:44:44 -08:00
Manish Goregaokar
19974e39c8
Merge fourth and fifth (assign block sizes / positions) passes
2018-02-27 09:43:38 -08:00
Manish Goregaokar
ef983c340f
Remove outdated comment
2018-02-26 23:35:01 -08:00
Manish Goregaokar
0261762fa4
Handle overlarge rowspans by keeping track of largest leftover incoming sizes
2018-02-26 23:35:00 -08:00
Manish Goregaokar
746acf7e2b
Don't crash on overflowing rows
2018-02-26 22:48:21 -08:00
Manish Goregaokar
f687be3878
Use computed border spacings when handling rowspans
2018-02-26 22:33:55 -08:00
Manish Goregaokar
108ecc1f4d
Compute border spacing info beforehand
2018-02-26 22:20:26 -08:00
Manish Goregaokar
7cd3daa76f
Always call compute_block_size_table_row_base
2018-02-26 22:01:50 -08:00
Manish Goregaokar
216082c342
Preserve information on incoming row sizes
2018-02-26 19:25:19 -08:00
Manish Goregaokar
e894c8b1bf
Hacky rowspan support
2018-02-26 18:19:09 -08:00
Manish Goregaokar
2a0e1cd9c9
Assign table row block sizes in the parent table or rowgroup
2018-02-26 17:08:43 -08:00
bors-servo
2c2f8be1cc
Auto merge of #20123 - servo:rm-all, r=emilio
...
Remove TransitionProperty::All
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20123 )
<!-- Reviewable:end -->
2018-02-26 10:41:31 -05:00
Anthony Ramine
f10e485740
Remove 2 unused type aliases
2018-02-26 16:40:19 +01:00
Anthony Ramine
e2a6d07dad
Remove TransitionProperty::All
2018-02-26 14:30:53 +01:00
bors-servo
f3fe99bcb2
Auto merge of #20121 - servo-wpt-sync:wpt_update_25-02-2018, r=jdm
...
Sync WPT with upstream (25-02-2018)
Automated downstream sync of changes from upstream as of 25-02-2018.
[no-wpt-sync]
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20121 )
<!-- Reviewable:end -->
2018-02-26 00:00:21 -05:00
WPT Sync Bot
908e01b499
Update web-platform-tests to revision 5ca972e15cfa80277964645d9ee5ccd87a661337
2018-02-25 21:45:44 -05:00
bors-servo
7de2043b9c
Auto merge of #20036 - paavininanda:BrowsingNames, r=jdm
...
Browsing context names
<!-- 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 https://github.com/servo/servo/issues/14453
<!-- Either: -->
- [ ] 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. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20036 )
<!-- Reviewable:end -->
2018-02-25 21:26:08 -05:00
paavininanda
b9f7aa4686
Adding Name and SetName functions for window
2018-02-26 07:38:41 +05:30
bors-servo
072badabac
Auto merge of #20119 - servo-wpt-sync:wpt_update_24-02-2018, r=jdm
...
Sync WPT with upstream (24-02-2018)
Automated downstream sync of changes from upstream as of 24-02-2018.
[no-wpt-sync]
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20119 )
<!-- Reviewable:end -->
2018-02-24 22:39:57 -05:00
WPT Sync Bot
cc8c86022e
Update web-platform-tests to revision cd2eda7fc55fd74fb66c5ae9a1fec7f39c4f06e5
2018-02-24 21:35:00 -05:00
bors-servo
b699dfac8b
Auto merge of #20115 - janvi-palan:NoNetworkConnForHtmlListMedia, r=emilio
...
Dont make a network request when the media attribute of a link element is modified
<!-- 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 #16404 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this needs to be tested manually
<!-- 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. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20115 )
<!-- Reviewable:end -->
2018-02-24 19:04:46 -05:00
bors-servo
bbfca28a4f
Auto merge of #20117 - emilio:misc-cleanup, r=nox
...
style: Somewhat miscelaneous cleanup.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20117 )
<!-- Reviewable:end -->
2018-02-24 17:28:20 -05:00
Emilio Cobos Álvarez
a2382483f0
style: Remove useless dereferencing.
2018-02-24 23:26:55 +01:00
Emilio Cobos Álvarez
13f61a6e5f
style: Indent properly a couple more functions.
2018-02-24 23:23:16 +01:00
Emilio Cobos Álvarez
a6c6ef91e0
style: Reference #20116 from a few places.
2018-02-24 22:49:32 +01:00
Emilio Cobos Álvarez
76dd4ae05e
style: Reindent yet another function.
2018-02-24 22:45:53 +01:00
Emilio Cobos Álvarez
f2a808ad58
style: Break needs_animations_update into pieces.
...
To hopefully make some sense out of it.
2018-02-24 22:45:51 +01:00
Emilio Cobos Álvarez
e30a4d2ad2
style: return early in needs_animations_update.
2018-02-24 22:45:49 +01:00
Emilio Cobos Álvarez
e5bd8fc5d8
style: Return early instead of indenting in animation code.
...
And also leave some WTF comments, because they make no sense so far.
2018-02-24 22:45:46 +01:00
Emilio Cobos Álvarez
e77dd773d8
style: Other miscellaneous cleanup.
2018-02-24 22:45:45 +01:00
Emilio Cobos Álvarez
23d9462d23
style: Remove unused and somewhat dubious GeckoElement::set_data.
2018-02-24 22:45:44 +01:00
Emilio Cobos Álvarez
601a351632
style: Remove some get_ prefixes from Gecko functions.
2018-02-24 22:45:43 +01:00
Emilio Cobos Álvarez
f2efd04a5d
style: Make Element::id not clone the attribute.
2018-02-24 22:45:43 +01:00
Emilio Cobos Álvarez
98c9292ecb
style: Remove get_ prefix from get_state and get_id.
2018-02-24 22:45:42 +01:00
Emilio Cobos Álvarez
b8fb41da0c
style: Remove get_css_transitions_info and might_need_transition_update_per_property from TElement.
...
They're only called from wrapper.rs, there's no need to expose them in the
common trait.
2018-02-24 22:45:41 +01:00
Emilio Cobos Álvarez
607cf5aa3c
style: Remove the get_ prefix from get_smil_override, and other animation stuff.
2018-02-24 22:45:41 +01:00
Emilio Cobos Álvarez
c5bfc81b74
style: Remove get_animation_rule_by_cascade.
...
It's pretty useless.
2018-02-24 22:45:40 +01:00
Emilio Cobos Álvarez
8d34aacb3b
style: Remove some useless explicit dereferencing.
2018-02-24 22:45:39 +01:00
Emilio Cobos Álvarez
adf1c9fcfd
selectors: Indent two function declarations.
2018-02-24 22:45:39 +01:00
Emilio Cobos Álvarez
7ab4b21bc3
selectors: Remove the get_ prefix from get_local_name and get_namespace.
2018-02-24 22:45:38 +01:00
Emilio Cobos Álvarez
da99f159f4
style: Add a shadow root accessor.
...
I'm going to use it in a bit.
2018-02-24 20:29:36 +01:00
janvipalan
cef24def1a
removed the media match case from the attribute_mutated fn
2018-02-25 00:02:33 +05:30
bors-servo
6a2feb3c1b
Auto merge of #20031 - pyfisch:transform, r=mbrubeck
...
Reorganise display list builder
Description in the individual commits.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20031 )
<!-- Reviewable:end -->
2018-02-24 10:06:16 -05:00
Pyfisch
23fcd3a850
Rebase and fix innerText
2018-02-24 10:56:11 +01:00
Pyfisch
bc87b41db3
Remove image_data from tests.
...
Store multiple indexable text items for a node.
2018-02-24 10:56:11 +01:00
Pyfisch
0d0f2abf12
Move calculation functions out of builder.rs
2018-02-24 10:56:11 +01:00
Pyfisch
8d061118c4
Remove now unnecessary fix_gradient_stops function
...
Webrender solved the issue with servo/webrender#1189 .
2018-02-24 10:36:10 +01:00
Pyfisch
2d74bcfea5
Introduce a dedicated data structure for text queries
...
Add an IndexableText structure for text queries.
Instead of linear search for a node this now uses a HashMap.
Remove the now irrelevant fields from TextDisplayItem.
2018-02-24 10:36:10 +01:00
Pyfisch
a5115139ba
Remove image_data field from display item
...
It was unused.
2018-02-24 10:36:10 +01:00
Pyfisch
279cda65ed
Use typed transforms in stacking contexts
2018-02-24 10:36:10 +01:00