Bug 1637576 [wpt PR 23563] - Dirty font when specifying writing-mode/text-orientation:initial, a=testonly

Automatic update from web-platform-tests
Dirty font when specifying writing-mode/text-orientation:initial

Only ApplyValue would set the value via StyleResolverState, which is
responsible for the font-dirtying. This CL makes ApplyInitial and
ApplyInherit go through StyleResolverState as well.

Bug: 1081659
Change-Id: I18ac7c54be3da90ac4c97caa242ecfb4fbb3c515
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2199257
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#768259}

--

wpt-commits: 6e0c010743f1e77c8d181df9a1ee85a045e494fb
wpt-pr: 23563
This commit is contained in:
Anders Hartvoll Ruud 2020-05-20 17:00:51 +00:00 коммит произвёл moz-wptsync-bot
Родитель e45ce59cee
Коммит eb4f7ff95a
4 изменённых файлов: 32 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,7 @@
<!DOCTYPE html>
<div style="writing-mode:vertical-rl">
<div>
vertical
</div>
</div>

Просмотреть файл

@ -0,0 +1,10 @@
<!DOCTYPE html>
<link rel=help href="https://drafts.csswg.org/css-writing-modes-4/#text-orientation">
<link rel=help href="https://crbug.com/1081659">
<link rel="match" href="text-orientation-initial-ref.html">
<div style="writing-mode:vertical-rl;text-orientation:upright">
<div style="text-orientation:initial">
vertical
</div>
</div>

Просмотреть файл

@ -0,0 +1,6 @@
<!DOCTYPE html>
<div>
<div>
horizontal
</div>
</div>

Просмотреть файл

@ -0,0 +1,9 @@
<!DOCTYPE html>
<link rel=help href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<link rel=help href="https://crbug.com/1081659">
<link rel="match" href="writing-mode-initial-ref.html">
<div style="writing-mode:vertical-rl">
<div style="writing-mode:initial">
horizontal
</div>
</div>