- From: <bugzilla@jessica.w3.org>
- Date: Thu, 18 Aug 2011 18:08:29 +0000
- To: public-webapps@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13829
Summary: Ensure that hiliteColor is the innermost style applied
Product: WebAppsWG
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: HTML Editing APIs
AssignedTo: ayg@aryeh.name
ReportedBy: ayg@aryeh.name
QAContact: sideshowbarker+html-editing-api@gmail.com
CC: mike@w3.org, public-webapps@w3.org
See: https://bugs.webkit.org/show_bug.cgi?id=21679
I'm adding the following fontSize tests:
["6", '<span style=background-color:aqua>[foo]</span>'],
["6", '<span style=background-color:aqua>foo[bar]baz</span>'],
["6", '[foo<span style=background-color:aqua>bar</span>baz]'],
And the following hiliteColor tests:
'<font size=6>[foo]</font>',
'<span style=font-size:xx-large>[foo]</span>',
'<font size=6>foo[bar]baz</font>',
'<span style=font-size:xx-large>foo[bar]baz</span>',
'[foo<font size=6>bar</font>baz]',
'[foo<span style=font-size:xx-large>bar</span>baz]',
In many cases, the highlight is visually not high enough in the markup that the
spec produces. We get things like <span style="background-color:
teal">foo<font size=6>bar</font>baz</span>, and the background doesn't get
higher to match the increased height of "bar".
I think the correct fix is to change the effective value algorithm so that it
returns a special value like "mixed" if this case is detected. That way, any
descendants that have this problem will have the algorithm applied to them
again.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 18 August 2011 18:08:34 UTC