Page MenuHomePhabricator

WikiEditor leaves style="position: static;" behind on the <body>
Closed, ResolvedPublic


  1. Open
  2. Inspect <body>

Actual behaviour:

An attribute style="position: static;" is created at run time. Setting an attribute breakpoint reveals this is done by the WikiEditor toolbar module:

		$.eachAsync( sectionQueue, {
			'bulk': 0,
			'end': function () {
				// HACK: Opera doesn't seem to want to redraw after these bits
				// are added to the DOM, so we can just FORCE it!
				var oldValue = $( 'body' ).css( 'position' );
				$( 'body' ).css( 'position', 'static' );
				$( 'body' ).css( 'position', oldValue );

Event Timeline

Krinkle raised the priority of this task from to Needs Triage.
Krinkle updated the task description. (Show Details)
Krinkle added a subscriber: Krinkle.
Krinkle set Security to None.

Change 226333 had a related patch set uploaded (by TheDJ):
Toolbar: Remove Opera redraw hack

Change 226333 merged by jenkins-bot:
Toolbar: Remove Opera redraw hack

TheDJ removed a project: Patch-For-Review.