[Webkit-unassigned] [Bug 93829] New: Text decorations specified on the containing block are not properly applied when ::first-line is present.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 13 05:31:08 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=93829

           Summary: Text decorations specified on the containing block are
                    not properly applied when ::first-line is present.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arpitabahuguna at gmail.com


Created an attachment (id=157971)
 --> (https://bugs.webkit.org/attachment.cgi?id=157971&action=review)
Testcase

Issue:
When a pseudo ::first-line is present, the text-decoration of it's containing block is not applied properly on the first-line content.

Several scenarios can occur, namely:

1. pseudo ::first-line has no text-decoration specified, only the containing block has. In such a case the containing block's text-decoration should be applied.
2. pseudo ::first-line too has text-decoration specified along with the containing block; but the styles are non-conflicting. In this case, both the styles should be applied.
3. pseudo ::first-line and the containing block both have the same text-decoration specified. In this case the text-decoration of the pseudo selector should be given precedence.

Currently, WebKit's behavior is not proper for scenarios 1 and 2 mentioned above.

Attached is a test-case for verifying the above scenarios.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list