[webkit-changes] [WebKit/WebKit] 2477f9: Fix bugzilla CSS to not unintentionally set font p...

Tim Nguyen noreply at github.com
Thu Jan 12 15:56:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2477f9376ca67439105885b4a5d7d6e9f7a4da5d
      https://github.com/WebKit/WebKit/commit/2477f9376ca67439105885b4a5d7d6e9f7a4da5d
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M Websites/bugs.webkit.org/skins/standard/global.css

  Log Message:
  -----------
  Fix bugzilla CSS to not unintentionally set font properties on all inputs
https://bugs.webkit.org/show_bug.cgi?id=250531
rdar://104193389

Reviewed by Alexey Proskuryakov.

https://commits.webkit.org/258754@main made font properties apply to input[type=button|reset|submit] like other browsers do.

This CSS rule was making submit buttons bigger than other controls unintentionally, since it was only meant for text inputs.
The inconsistency is also visible in other browsers, notably with the font-family difference between select and button inputs.

* Websites/bugs.webkit.org/skins/standard/global.css:
(body, td, th, input:not([type=button], [type=submit], [type=reset]), dt, #titles):
(body, td, th, input, dt, #titles): Deleted.

Canonical link: https://commits.webkit.org/258857@main




More information about the webkit-changes mailing list