Closed
Bug 224737
Opened 21 years ago
Closed 21 years ago
[FIX] thumbnails on browse.deviantart.com aren't spaced out
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: MatsPalmgren_bugz)
References
()
Details
(Keywords: regression, testcase)
Attachments
(2 files)
781 bytes,
text/html
|
Details | |
695 bytes,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
1. Load http://browse.deviantart.com/
Expected: spaced-out images.
Result: images are all on the left side, and there's a big gap at the right.
This regressed between the 11/03 and 11/04 official Firebird builds.
No testcase yet, guessing Layout:Block&Inline because the links seem to have
shrunk vertically too.
Reporter | ||
Updated•21 years ago
|
Summary: thumbnails on http://browse.deviantart.com/ aren't spaced out → thumbnails on browse.deviantart.com aren't spaced out
Reporter | ||
Comment 1•21 years ago
|
||
Originally reported at http://forums.mozillazine.org/viewtopic.php?t=33124.
Assignee | ||
Comment 2•21 years ago
|
||
This is a regression from bug 224188
Assignee: block-and-inline → dbaron
Severity: minor → major
Component: Layout: Block & Inline → Style System (CSS)
Keywords: testcase
OS: Windows XP → All
Assignee | ||
Comment 3•21 years ago
|
||
Assignee | ||
Comment 4•21 years ago
|
||
- if (GetToken(aErrorCode, PR_TRUE)) {
- if ((eCSSToken_Symbol == mToken.mType) &&
- (('+' == mToken.mSymbol) || ('>' == mToken.mSymbol))) {
+ if (eCSSToken_Symbol == mToken.mType &&
+ ('+' == mToken.mSymbol) || ('>' == mToken.mSymbol)) {
Umm, someone needs to read his K&R again... ;-)
Comment 5•21 years ago
|
||
Overparenthesizing the == expressions just helps add paren-noise, hiding the
lack of needed parens around the || expression, to make it the right operand of
&&. Where is that code from?
/be
Assignee | ||
Comment 6•21 years ago
|
||
That was from the patch in bug 224188, which only changed one file:
content/html/style/src/nsCSSParser.cpp
Summary: thumbnails on browse.deviantart.com aren't spaced out → [FIX] thumbnails on browse.deviantart.com aren't spaced out
Assignee | ||
Comment 7•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #134814 -
Flags: superreview?(dbaron)
Attachment #134814 -
Flags: review?(bz-vacation)
Comment 8•21 years ago
|
||
Comment on attachment 134814 [details] [diff] [review]
Patch rev. 1
r+sr=bzbarsky. The code was overparenthesized, and I deparenthesized it
incorrectly...
Attachment #134814 -
Flags: superreview?(dbaron)
Attachment #134814 -
Flags: superreview+
Attachment #134814 -
Flags: review?(bz-vacation)
Attachment #134814 -
Flags: review+
Comment 10•21 years ago
|
||
Fix checked in (and testcase added to regression tests). Thanks for the patch,
Mats!
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•