WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
133965
Web Inspector: style declaration editor: visual highlight doesn't match actual selected text
https://bugs.webkit.org/show_bug.cgi?id=133965
Summary
Web Inspector: style declaration editor: visual highlight doesn't match actua...
Jonathan Wells
Reported
2014-06-16 19:51:50 PDT
<
rdar://problem/17260272
>
Attachments
[PATCH] Attempted CSS fix
(1.12 KB, patch)
2014-06-16 19:55 PDT
,
Jonathan Wells
no flags
Details
Formatted Diff
Diff
[PATCH] Attempted CSS fix, remembered ChangeLog
(2.15 KB, patch)
2014-06-16 20:40 PDT
,
Jonathan Wells
no flags
Details
Formatted Diff
Diff
[PATCH] Attempted CSS fix, remembered ChangeLog VER 2
(2.13 KB, patch)
2014-06-17 13:25 PDT
,
Jonathan Wells
joepeck
: review+
Details
Formatted Diff
Diff
[PATCH] Attempted CSS fix, remembered ChangeLog VER 3
(2.24 KB, patch)
2014-06-17 14:49 PDT
,
Jonathan Wells
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Jonathan Wells
Comment 1
2014-06-16 19:52:35 PDT
Regression due to CodeMirror 4 changes in tag structure.
Jonathan Wells
Comment 2
2014-06-16 19:55:40 PDT
Created
attachment 233209
[details]
[PATCH] Attempted CSS fix Note, this fix removes the two-character indentation for rules that wrap to a second line or more. The use of the hanging indent hack was causing this and some other problems. `text-indent: hanging`, or something similar, if implemented, might help. With this fix though the highlight doesn't cover the checkboxes which actually makes sense and creates a very clear visual of what the user is selecting.
Jonathan Wells
Comment 3
2014-06-16 20:40:04 PDT
Created
attachment 233211
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog
Joseph Pecoraro
Comment 4
2014-06-17 10:40:38 PDT
Comment on
attachment 233211
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog View in context:
https://bugs.webkit.org/attachment.cgi?id=233211&action=review
> Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css:43 > + text-indent: 0;
Can this just be removed? Or is it overriding something?
> Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css:57 > /* Compensate for the missing checkboxes so properties line up with editable styles that have checkboxes. */ > - text-indent: -14px; > + text-indent: 0;
Can this just all be removed? Or is it overriding something?
Jonathan Wells
Comment 5
2014-06-17 13:25:12 PDT
Created
attachment 233257
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog VER 2
Joseph Pecoraro
Comment 6
2014-06-17 13:43:13 PDT
Comment on
attachment 233257
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog VER 2 View in context:
https://bugs.webkit.org/attachment.cgi?id=233257&action=review
r=me
> Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css:55 > /* Compensate for the missing checkboxes so properties line up with editable styles that have checkboxes. */
Can this comment be removed now? Essentially we are just removing the indent. In fact the comment may be more useful up above where we do set a text-indent.
Jonathan Wells
Comment 7
2014-06-17 14:49:35 PDT
Created
attachment 233262
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog VER 3
WebKit Commit Bot
Comment 8
2014-06-17 14:50:00 PDT
Comment on
attachment 233262
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog VER 3 Rejecting
attachment 233262
[details]
from review queue.
jonowells@apple.com
does not have reviewer permissions according to
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json
. - If you do not have reviewer rights please read
http://webkit.org/coding/contributing.html
for instructions on how to use bugzilla flags. - If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your reviewer rights.
WebKit Commit Bot
Comment 9
2014-06-17 14:50:35 PDT
Comment on
attachment 233262
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog VER 3 Rejecting
attachment 233262
[details]
from commit-queue.
jonowells@apple.com
does not have committer permissions according to
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json
. - If you do not have committer rights please read
http://webkit.org/coding/contributing.html
for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
WebKit Commit Bot
Comment 10
2014-06-17 14:51:11 PDT
Comment on
attachment 233262
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog VER 3 Rejecting
attachment 233262
[details]
from commit-queue.
jonowells@apple.com
does not have committer permissions according to
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json
. - If you do not have committer rights please read
http://webkit.org/coding/contributing.html
for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
WebKit Commit Bot
Comment 11
2014-06-17 15:26:44 PDT
Comment on
attachment 233262
[details]
[PATCH] Attempted CSS fix, remembered ChangeLog VER 3 Clearing flags on attachment: 233262 Committed
r170077
: <
http://trac.webkit.org/changeset/170077
>
WebKit Commit Bot
Comment 12
2014-06-17 15:26:47 PDT
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