[CSS Zoom] Apply zoom factor to -webkit-text-stroke-width#51713
Conversation
|
EWS run on previous version of this PR (hash a71b502) Details
|
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/text-stroke-width.html
Outdated
Show resolved
Hide resolved
Source/WebCore/style/values/non-standard/StyleWebKitTextStrokeWidth.h
Outdated
Show resolved
Hide resolved
|
Like with the others, this needs tests for the |
I tried making such a test, but -webkit-text-stroke-width doesn't apply to SVG elements. |
a71b502 to
b36a2fc
Compare
|
EWS run on previous version of this PR (hash b36a2fc) Details |
b36a2fc to
ba7938c
Compare
|
EWS run on current version of this PR (hash ba7938c) Details
|
https://bugs.webkit.org/show_bug.cgi?id=300061 rdar://161859808 Reviewed by Antti Koivisto. Test: imported/w3c/web-platform-tests/css/css-viewport/zoom/text-stroke-width.html * LayoutTests/TestExpectations: * Source/WebCore/rendering/RenderTreeAsText.cpp: (WebCore::RenderTreeAsText::writeRenderObject): * Source/WebCore/rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::computedStrokeWidth const): * Source/WebCore/style/values/non-standard/StyleWebKitTextStrokeWidth.h: Canonical link: https://commits.webkit.org/301322@main
ba7938c to
97cc34d
Compare
|
Committed 301322@main (97cc34d): https://commits.webkit.org/301322@main Reviewed commits have been landed. Closing PR #51713 and removing active labels. |
|
Even for cases where there is no rendering difference, code needs testing for getComputedValue. Here is an example test case I made for @nullhook: |
|
Thanks for the example! I originally looked at the -svg.html reftests from @nullhook, but didn't think about computed style test. I'll make a follow up Monday to add that. |
97cc34d
ba7938c
🛠 wpe🛠 win🧪 wpe-wk2🧪 win-tests🧪 ios-wk2🧪 api-mac🧪 api-wpe🧪 ios-wk2-wpt🧪 mac-wk1🧪 api-ios🧪 mac-wk2🛠 gtk🛠 vision🧪 mac-AS-debug-wk2🧪 gtk-wk2🧪 mac-wk2-stress🧪 api-gtk🧪 vision-wk2🧪 mac-intel-wk2🛠 playstation🛠 tv🛠 tv-sim🛠 watch🛠 watch-sim