Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNever blockify display: none #15056
Never blockify display: none #15056
Conversation
highfive
commented
Jan 17, 2017
highfive
commented
Jan 17, 2017
|
Oh, wow, that's nasty. @bors-servo r+ |
|
|
|
@bors-servo r-, Actually, could you write a simple test for this? |
|
A "simple" test for this single case is easy, but I guess we really want a more complete test to cover all blockify cases and all display values, which is harder :/ |
|
Gecko has "layout/style/test/test_flexbox_child_display_values.xhtml" for blockifying behavior inside flexbox, which can probably be migrated to wpt. But there are other cases, e.g. floating, absolutely-positioning, which also need blockifying. |
|
I guess... Probably there are some tests for this already? I added some for display: contents on absolutely positioned elements and similar stuff to CSSWG, but of course we don't support them yet so that's kinda useless... Let's see: @bors-servo try If it's blocking you hard or something, feel free to r=me directly, and file an issue for the test. Shouldn't be hard and could be a good easy issue? |
Never blockify display: none <!-- 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/15056) <!-- Reviewable:end -->
|
It's not blocking me. I just feel it's silly to file an issue for this trivial code change and ask other people to fix, given I've found how to fix it. But well, I didn't consider the cost of adding test... so I probably should have filed an issue instead of a pr :) |
|
|
Never blockify display: none <!-- 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/15056) <!-- Reviewable:end -->
|
|
|
Looks like @bors-servo doesn't recognize r- after r+... or there is some bug. |
upsuper commentedJan 17, 2017
•
edited by larsbergstrom
This change is