New issue
Advanced search Search tips

Issue 859793 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Element#innerText should handle ::first-line with text-transform

Project Member Reported by yosin@chromium.org, Jul 3

Issue description

Element#innerText ignores text-transform in ::first-line

Demo: https://jsfiddle.net/k1pgLb9x/2/
<style>
p::first-line { text-transform: uppercase }
</style>
<p>abc<br>def</p>
document.querySelector('p') should be "ABC\ndef" but got "abc\ndef"
for both legacy layout and LayoutNG

 

Sign in to add a comment