Bug 141528 - Fix multiple issues with text-underline-position:under
Summary: Fix multiple issues with text-underline-position:under
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-12 12:28 PST by Dave Hyatt
Modified: 2015-02-16 10:03 PST (History)
5 users (show)

See Also:


Attachments
Patch (25.14 KB, patch)
2015-02-12 12:32 PST, Dave Hyatt
no flags Details | Formatted Diff | Diff
Patch (25.17 KB, patch)
2015-02-12 12:45 PST, Dave Hyatt
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2015-02-12 12:28:01 PST
text-underline-position: under has multiple correctness issues:

(1) Doesn't work with vertical-lr
(2) Is always including replaced elements in the "under" check
(3) Doesn't limit the "under" check to the containing element with the text-decoration specified
Comment 1 Dave Hyatt 2015-02-12 12:32:18 PST
Created attachment 246465 [details]
Patch
Comment 2 WebKit Commit Bot 2015-02-12 12:34:05 PST
Attachment 246465 [details] did not pass style-queue:


ERROR: Source/WebCore/rendering/RenderObject.cpp:2114:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/rendering/InlineFlowBox.h:297:  The parameter name "textDecoration" adds no information, so it should be removed.  [readability/parameter_name] [5]
ERROR: Source/WebCore/rendering/InlineFlowBox.h:298:  The parameter name "textDecoration" adds no information, so it should be removed.  [readability/parameter_name] [5]
ERROR: Source/WebCore/rendering/RenderElement.h:195:  The parameter name "textDecoration" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 4 in 18 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Dave Hyatt 2015-02-12 12:45:12 PST
Created attachment 246468 [details]
Patch

Patch updated to Tot and with style fixes.
Comment 4 Dave Hyatt 2015-02-16 10:03:48 PST
Fixed.