Bug 18062 - Problem with an unknown element in PHPBB
Summary: Problem with an unknown element in PHPBB
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Major
Assignee: Nobody
URL: http://www.unite-video.com/phpbb/port...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 03:04 PDT by xpech@webkit
Modified: 2022-08-05 15:39 PDT (History)
4 users (show)

See Also:


Attachments
reduction (1.24 KB, text/html)
2008-04-07 15:10 PDT, Marcus
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xpech@webkit 2008-03-25 03:04:06 PDT
Hi,

the phppp forum use a non-standard element "mwthree" to useless feature, but it prevent Safari user to view messages. After first layout, the messages was hidden by a sort of second layout.

The W3C says " a user agent encounters an element it does not recognize, it must process the element's content" but it did not specify the way to evaluate this unknown element.
Comment 1 Marcus 2008-04-07 15:10:17 PDT
Created attachment 20389 [details]
reduction

The problem is not an unknown tag but rather the "mw3.js" script used in the forum. I have added a test reduction. Safari and Opera show identical results, I don't know if that's a bug or not. The script actually uses a workaround that tests for Opera but not for Safari. As a quick fix you might try the following: in mw3.js line 113 comment out the code that tests for window.opera like this:

    if (  // window.opera &&

That makes it work with Safari, at least for me.
Comment 2 Ahmad Saleem 2022-08-05 15:38:58 PDT
All browsers (Chrome Canary 106, Firefox Nightly 105 and Safari 15.6 on macOS 12.5) render the reduction test case same and show two line of text. Since all browsers are in consensus, I am going to mark this bug as "RESOLVED CONFIGURATION CHANGED". If I am wrong or web-spec say differently, please reopen and mark accordingly. Thanks!