[Webkit-unassigned] [Bug 200998] New: [results.webkit.org Webkit.css] Change input's disable style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 21 14:09:31 PDT 2019


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

            Bug ID: 200998
           Summary: [results.webkit.org Webkit.css] Change input's disable
                    style
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zhifei_fang at apple.com

I am using required and :vaild to detect if an input have value or not, but this will not work for disabled input, therefore, I change the disable style to assume they already have a value to avoid the label and input text overlay.

Long term solution here is I should make a input component, it will using js to detect if it has value already, and the user can use it more flexible. For now, all the input have the required attribute, this is ok for those send from directly through XHR, but not ok for those who have optional element in a form and submit the form via form action.

-- 
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/20190821/72316e8d/attachment.html>


More information about the webkit-unassigned mailing list