- From: Daniel Bates via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Jan 2019 17:21:46 +0000
- To: public-css-archive@w3.org
Re-defining currentColor in terms of the local text span would solve this bug as well as other color-like properties for pseudo-element. But this does not solve how to compute property caret and property text-shadow with respect to overlapping highlights. The spec. has existing text for how ::first-letter works with ::first-line in section 2: > The ::first-letter pseudo-element is contained within any ::first-line pseudo-elements, and thus inherits from ::first-line. Instead of re-defining currentColor can we solve this bug by adopting similar language for all the other highlights? Elaborating further can we describe the algorithm for computing the value of a highlight CSS property as cascade inheriting from the underlying highlight element up to the originating element. So, change the first paragraph of 3.4 to read: [[ Each element draws its own active portions of the highlight overlays, which receives the styles specified by the corresponding highlight pseudo-element styles for which that element is the originating element. When multiple styles conflict, the winning style is determined by the cascade. When any supported property is not given a value by the cascade, it’s value is determined by inheritance from the next corresponding highlight pseudo-element layer of its originating element up to the originating element's parent element. ]] -- GitHub Notification of comment by dbates-wk Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2850#issuecomment-454864500 using your GitHub account
Received on Wednesday, 16 January 2019 17:21:47 UTC