[Webkit-unassigned] [Bug 194011] New: Not correct definition sibling's children after input:checked

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 30 01:16:43 PST 2019


            Bug ID: 194011
           Summary: Not correct definition sibling's children after
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: che7ovek at yandex.ru

Created attachment 360563

  --> https://bugs.webkit.org/attachment.cgi?id=360563&action=review

Visual representation

See bug on https://codepen.io/Che7ovek/pen/zeoovr

If use "input:checked + label span" selector, then that styles confirmed to all spans in label tag after checked input, not only sibling's of that input.
But specified input type in selector can fix it.

//This generate bug
input:checked + label span{
        font-size: 2em;

//This don't
input[type=checkbox]:checked + label span{
        font-size: 2em;

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190130/039fbff7/attachment.html>

More information about the webkit-unassigned mailing list