php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67323 H2 on frontpage do not display in Opera
Submitted: 2014-05-22 10:34 UTC Modified: 2021-10-25 20:26 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: phpdev at ehrhardt dot nl Assigned:
Status: Open Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: phpdev at ehrhardt dot nl
New email:
PHP Version: OS:

 

 [2014-05-22 10:34 UTC] phpdev at ehrhardt dot nl
Description:
------------
The article headings on the frontpage do not display in Opera 12 and in the Opera Classic Android app. They have CSS display:none;

Test script:
---------------
Screenshot: http://elijst.nl/php_net.gif

Expected result:
----------------
The see the article subjects.


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-22 21:39 UTC] aharvey@php.net
-Status: Open +Status: Wont fix
 [2014-05-22 21:39 UTC] aharvey@php.net
I've poked at this a bit, and while I can reproduce it, I can't figure out why Opera computes a display: none rule for the h2 and time elements. It also can't be overridden — even a style attribute on the element with !important, which should best everything, doesn't change the computed style.

Given that Opera 12 is discontinued, Opera for Android has minimal market share, and this works fine in the Blink-based current version, I'm inclined to mark this as won't fix, although I'd be interested if there was a patch that did fix this.
 [2014-05-23 09:36 UTC] phpdev at ehrhardt dot nl
I found the culprit: content: " "; in the header.title styles. This removes all the content inside the <header class="title">.

Note that you do not have the class="title" on the archive pages.
 [2014-06-04 12:53 UTC] phpdev at ehrhardt dot nl
Hi Adam,

The status is at wontfix, but I am wondering which browsers need the 'content: " "'; the header.title styles. To me it seems quite logical that Opera shows nothing when you replace the content with a space.

Jan
 [2014-06-04 13:31 UTC] aharvey@php.net
-Status: Wont fix +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2014-06-04 13:31 UTC] aharvey@php.net
I'm not sure. I'll reopen this and poke at it when I have a chance post-DrupalCon.
 [2014-06-04 13:36 UTC] phpdev at ehrhardt dot nl
Aha, Austin. Were you there last year in Portland? I was. And I will be there in Amsterdam (my home town).
 [2017-10-24 07:17 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: aharvey +Assigned To:
 [2021-09-24 21:38 UTC] ddpm at liscovius dot de
IMHO best is to get rid of h1::after, h2::after, h3::after rules for painting the dotted border and put the border-bottom rule directly to the h1,h2,h3 CSS rules.

This is cleaner and there is no content: ' '; hack necessary. Maybe the old opera applied it to the element instead of ::after pseudo element.
 [2021-09-24 21:59 UTC] ddpm at liscovius dot de
made PR: https://github.com/php/web-php/pull/446
 [2021-10-26 08:26 UTC] cmb@php.net
The following pull request has been associated:

Patch Name: fix #67323 H2 on frontpage do not display in Opera
On GitHub:  https://github.com/php/web-php/pull/446
Patch:      https://github.com/php/web-php/pull/446.patch
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 08 04:01:28 2024 UTC