WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
195018
Web Inspector: Dark Mode: unreadable text in bezier curve editor numeric input fields
https://bugs.webkit.org/show_bug.cgi?id=195018
Summary
Web Inspector: Dark Mode: unreadable text in bezier curve editor numeric inpu...
Matt Baker
Reported
2019-02-25 14:48:51 PST
Created
attachment 362928
[details]
[Image] Dark Mode - curve editor See attached screenshot.
Attachments
[Image] Dark Mode - curve editor
(1010.71 KB, image/png)
2019-02-25 14:48 PST
,
Matt Baker
no flags
Details
Patch
(6.78 KB, patch)
2019-02-27 11:36 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
[Image] After Patch is applied
(48.80 KB, image/png)
2019-02-27 11:36 PST
,
Devin Rousso
no flags
Details
Patch
(6.89 KB, patch)
2019-02-27 12:58 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-02-25 14:49:37 PST
<
rdar://problem/48378541
>
Devin Rousso
Comment 2
2019-02-27 11:36:43 PST
Created
attachment 363109
[details]
Patch
Devin Rousso
Comment 3
2019-02-27 11:36:59 PST
Created
attachment 363110
[details]
[Image] After Patch is applied
Nikita Vasilyev
Comment 4
2019-02-27 11:50:53 PST
(In reply to Devin Rousso from
comment #3
)
> Created
attachment 363110
[details]
> [Image] After Patch is applied
The up and down buttons are still light. It's a WebKit bug. I don't think we can (or should) do anything here with CSS.
Nikita Vasilyev
Comment 5
2019-02-27 12:09:54 PST
Comment on
attachment 363109
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=363109&action=review
This fixes the bug and includes some nice refactoring!
> Source/WebInspectorUI/UserInterface/Views/BezierEditor.css:-139 > - border-radius: 4px; > - box-shadow: inset 0 0 1px 1px hsl(0, 0%, 89%);
You changed the style of the inputs. They look fine but it would be nice to mention it in the changelog because I could've missed it.
> Source/WebInspectorUI/UserInterface/Views/BezierEditor.css:-180 > -@media (prefers-color-scheme: dark) { > - .bezier-editor > .bezier-preview-timing { > - border-top-color: var(--text-color-tertiary); > - } > - > - .bezier-editor > .bezier-container .bezier-curve { > - stroke: white; > - } > - > - .bezier-editor > .bezier-container .linear-curve { > - stroke: var(--text-color-tertiary); > - } > - > - .bezier-editor > .bezier-preview { > - border-bottom-color: var(--text-color-tertiary); > - } > - > - .bezier-editor > .bezier-preview > div { > - background-color: var(--glyph-color-active); > - } > - > - .bezier-editor > .bezier-container .control-handle { > - fill: var(--glyph-color-active); > - } > - > - .bezier-editor > .bezier-container .control-line { > - stroke: var(--glyph-color-active); > - }
Nice! There are many `@media (prefers-color-scheme: dark)` sections that could be refactored fairly straightforwardly.
Matt Baker
Comment 6
2019-02-27 12:24:04 PST
Comment on
attachment 363109
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=363109&action=review
r=me
>> Source/WebInspectorUI/UserInterface/Views/BezierEditor.css:-139 >> - box-shadow: inset 0 0 1px 1px hsl(0, 0%, 89%); > > You changed the style of the inputs. They look fine but it would be nice to mention it in the changelog because I could've missed it.
It's a simple enough patch, but I agree that only mentioning the clean-up and not the main fix is confusing.
Devin Rousso
Comment 7
2019-02-27 12:58:24 PST
Created
attachment 363118
[details]
Patch
WebKit Commit Bot
Comment 8
2019-02-27 13:24:58 PST
Comment on
attachment 363118
[details]
Patch Clearing flags on attachment: 363118 Committed
r242151
: <
https://trac.webkit.org/changeset/242151
>
WebKit Commit Bot
Comment 9
2019-02-27 13:25:00 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug