Bug 136022
| Summary: | REGRESSION (r153822): Footer incorrectly visible on http://dev.petbuddyhouston.com/ | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas Kling <kling> |
| Component: | CSS | Assignee: | alan <zalan> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | kling, koivisto |
| Priority: | P2 | Keywords: | Regression |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://dev.petbuddyhouston.com | ||
Andreas Kling
WebKit doesn't hide the copyright footer on <http://dev.petbuddyhouston.com/>, unlike other engines.
I suspect it happens because of this malformed @media rule in <http://dev.petbuddyhouston.com/wp-content/themes/Petbuddy-child/style.css?ver=3.9.2>:
---snip---
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
#PagePeel{display:none !important;}
#slogan{display:none!important;}
#category-name{padding: 12px 80px 0px!important;}
.service h3 {text-align: center!important;}
#copyright {display:none!important;}
---snip---
The "#copyright" style rule at the bottom isn't getting applied to the element in WebKit, and as you can see, the @media rule is lacking opening and closing {} curly bracets.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Andreas Kling
Something fixed this.