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
100525
Web Inspector: The bubble for repeated errors is misplaced.
https://bugs.webkit.org/show_bug.cgi?id=100525
Summary
Web Inspector: The bubble for repeated errors is misplaced.
Mike West
Reported
2012-10-26 08:06:58 PDT
Created
attachment 170928
[details]
Uglay. The bubble for repeated errors is misplaced, pushing the error content down a line. It's ugly. Let's fix that.
Attachments
Uglay.
(128.65 KB, image/png)
2012-10-26 08:06 PDT
,
Mike West
no flags
Details
Patch
(2.63 KB, patch)
2012-10-26 10:56 PDT
,
Mike West
no flags
Details
Formatted Diff
Diff
After.
(110.81 KB, image/png)
2012-10-26 10:57 PDT
,
Mike West
no flags
Details
Three digits.
(85.10 KB, image/png)
2012-10-26 14:15 PDT
,
Mike West
no flags
Details
Patch
(2.56 KB, patch)
2012-10-26 14:21 PDT
,
Mike West
no flags
Details
Formatted Diff
Diff
After the new patch.
(15.08 KB, image/png)
2012-10-26 14:22 PDT
,
Mike West
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mike West
Comment 1
2012-10-26 10:56:58 PDT
Created
attachment 170959
[details]
Patch
Mike West
Comment 2
2012-10-26 10:57:34 PDT
Created
attachment 170960
[details]
After.
Alexander Pavlov (apavlov)
Comment 3
2012-10-26 14:02:31 PDT
(In reply to
comment #2
)
> Created an attachment (id=170960) [details] > After.
In the screenshot, the right-arrow next to (42) is not horizontally aligned with that next to "This is error message" above (looks shifted rightwards 1 or 2 px). Is this misalignment intentionally allowed due to the potentially unbounded bubble width?
Mike West
Comment 4
2012-10-26 14:15:02 PDT
Created
attachment 171003
[details]
Three digits.
Mike West
Comment 5
2012-10-26 14:17:59 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > > Created an attachment (id=170960) [details] [details] > > After. > > In the screenshot, the right-arrow next to (42) is not horizontally aligned with that next to "This is error message" above (looks shifted rightwards 1 or 2 px). Is this misalignment intentionally allowed due to the potentially unbounded bubble width?
Hrm. Yes, that was a compromise I was ok with making, but now I'm looking at it again. I think we can do better.
Mike West
Comment 6
2012-10-26 14:21:34 PDT
Created
attachment 171006
[details]
Patch
Mike West
Comment 7
2012-10-26 14:22:13 PDT
Created
attachment 171007
[details]
After the new patch.
Mike West
Comment 8
2012-10-26 14:22:40 PDT
(In reply to
comment #5
)
> (In reply to
comment #3
) > > (In reply to
comment #2
) > > > Created an attachment (id=170960) [details] [details] [details] > > > After. > > > > In the screenshot, the right-arrow next to (42) is not horizontally aligned with that next to "This is error message" above (looks shifted rightwards 1 or 2 px). Is this misalignment intentionally allowed due to the potentially unbounded bubble width? > > Hrm. Yes, that was a compromise I was ok with making, but now I'm looking at it again. I think we can do better.
How about the current patch? It looks like
https://bugs.webkit.org/attachment.cgi?id=171007
Pavel Feldman
Comment 9
2012-10-29 01:26:44 PDT
Comment on
attachment 171006
[details]
Patch Is flex box necessary to resolve this? We try not to use it due to its constant behavior changes.
Mike West
Comment 10
2012-10-29 01:41:44 PDT
(In reply to
comment #9
)
> (From update of
attachment 171006
[details]
) > Is flex box necessary to resolve this? We try not to use it due to its constant behavior changes.
The bubble is inline-block, pushing the 'ol' (block) down to the next line. I tried two other solutions before landing on flexbox: 1. Make the 'ol' inline-block. This has the unfortunate side-effect of shrink-wrapping the list to fit it's content. I tried fiddling with the width via -webkit-calc, but that's even flakier than flexbox. 2. Float the bubble. This works. But I hate float. I chatted a bit with Alexander about this; he's ok with landing it as-is. If either of us come up with a brilliant solution to #1 above, I'm more than happy to spin up another patch. That said, flexbox is the future! If it's broken, we should fix it, rather than avoiding it. :)
WebKit Review Bot
Comment 11
2012-10-29 01:48:35 PDT
Comment on
attachment 171006
[details]
Patch Clearing flags on attachment: 171006 Committed
r132772
: <
http://trac.webkit.org/changeset/132772
>
WebKit Review Bot
Comment 12
2012-10-29 01:48:39 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