Last modified: 2014-08-14 22:04:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60541, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58541 - Cannot wrap sections in DIV due to section collapsing
Cannot wrap sections in DIV due to section collapsing
Status: NEW
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Nobody - You can work on this!
:
: 69104 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-16 19:08 UTC by Jon
Modified: 2014-08-14 22:04 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jon 2013-12-16 19:08:07 UTC
With the following wikitext sample the content in 4 does not get a yellow background and blue border.


== foo ==
== 2 ==
=== 3 ===
<div style="background: yellow; border: 1px solid blue;">
== 4 ==
Content
</div>
Comment 1 Bingle 2013-12-16 19:20:27 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1514
Comment 2 Brion Vibber 2013-12-19 19:01:03 UTC
Note that the given code was never intended to work in our section model, since it puts the start of the div in one section and the end in another.

But such machinations are not uncommon because there's no automatic section wrapping on desktop, or provision for styling sections at all, and people sometimes want to be able to style them.

It would perhaps not be unreasonable to sniff backwards for unclosed block tags like a <div> just before section boundaries and switch which bit belongs where -- but note this could get "interesting" with section editing etc.
Comment 3 Max Semenik 2013-12-23 22:10:58 UTC
There are 2 different issues here: weird collapsing which is a minor problem and sections inside diffs not having edit links - this one is more serious.
Comment 4 Max Semenik 2013-12-30 20:57:42 UTC
Hmm, looks like edit links work OK, kicking the card back to backlog.
Comment 5 Max Semenik 2014-08-04 18:05:57 UTC
*** Bug 69104 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links