forked from mirrors/gecko-dev
Automatic update from web-platform-tests [CSS] Apply style when a property is defined on ::first-line This patch enables applying style to pseudo-elements when a property is defined on ::first-line. Currently, the properties on the ::after and ::before pseudo-elements are not applied on the first-line. So, we support kPseudoIdFirstLineInherited for the ::before/::after elements. Bug: 862423, 892983 Change-Id: I9474eece66921b8073091459cc254d5d1e27a9cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517339 Reviewed-by: Koji Ishii <kojii@chromium.org> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Jaeyong Bae <jdragon.bae@gmail.com> Cr-Commit-Position: refs/heads/master@{#828638} -- wpt-commits: 22f3408425d7182ba5800276b0b87c46d491bb5b wpt-pr: 26532
4 lines
106 B
HTML
4 lines
106 B
HTML
<!DOCTYPE html>
|
|
<div>
|
|
<span style="color: green">green</span><span style="color: red">red</span>
|
|
</div>
|