layout: Implement a non-recursive version of CSS quotes#34770
layout: Implement a non-recursive version of CSS quotes#34770Loirooriol merged 3 commits intoservo:mainfrom
quotes#34770Conversation
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#49835) with upstreamable changes. |
7b914fe to
0ee89b2
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |
0ee89b2 to
81573ed
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#49835) title and body. |
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#49835) title and body. |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#49835) title and body. |
1 similar comment
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#49835) title and body. |
56be7ef to
a2ad25c
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |
1 similar comment
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |
|
@Loirooriol Could you take a look and help me trigger the WPT try run? Thanks! |
|
🔨 Triggering try run (#12786736957) for Linux WPT |
|
Test results for linux-wpt-layout-2020 from try job (#12786736957): Flaky unexpected result (11)
Stable unexpected results that are known to be intermittent (16)
Stable unexpected results (8)
|
|
|
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |
581ae7a to
8f2b263
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |
|
How about marking I don't want to mark it as failing, as it might pass in some other environments (like in my local env). |
Unfortunately we have a bunch of tests like that. Marking it as intermittent will hide the failure if it ever starts failing on the CI. Would it be possible to start improving our testing environment/setup to ensure more consistent runs when tests are run locally? That is the strategy that WebKit takes, I think. |
|
All right. Let me dig deeper to see why the JP quotes are still tofu after installing Noto CJK. |
Oh! I would also say that if the test only fails locally and works as expected on the CI, it shouldn't block this change. I only meant my comment in the general sense. We have a larger issue with tests failing between different systems. |
|
This is not a high priority change. Fixing CI might be more valuable, especially for our team. |
|
CI getting different results than locally is not a problem specific to this. Also, wpt.fyi considers the test to fail on Firefox and Safari. In fact https://searchfox.org/mozilla-central/source/testing/web-platform/meta/css/css-content/quotes-034.html.ini only expects it to fail on linux, hinting that it's dependent on the environment. So just mark the test as failing for now and leave investigations for later. Or otherwise servo/stylo#110 should be reverted, since there is no point in accepting the property if it's not going to do anything. |
|
IIUC, if we mark it fail, some developers will get stable unexpected passes locally, and they may update the expectation. Is that still OK? |
|
Yes, that's not great but it's already happening with several other tests. Like when I run flexbox tests locally, I always get one timeout and 3 passes that are unexpected. |
|
OK then, I'll mark it failing. Also filed #35644 to track this. |
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |
Signed-off-by: Xiaocheng Hu <[email protected]>
Signed-off-by: Xiaocheng Hu <[email protected]>
Signed-off-by: Xiaocheng Hu <[email protected]>
ba7cd51 to
70155c1
Compare
|
@Loirooriol Done. I wish I can have more time coding... |
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#49835). |


This PR partially implements CSS quotes (#34446):
quotesvalue, retrieves the quote data from the property valueautovalue:-x-langinternal property to track the computedlangattribute value-x-langvalue to determine current localeIt also removes the stale and incorrect UA sheet
quotes.cssthat is not used anywhere.Quote depth calculation is out of the scope of this PR and will be left for future.
Other caveats:
-x-langdoesn't track the browser/OS-default locale./mach build -ddoes not report any errors./mach test-tidydoes not report any errors