https://bugzilla.wikimedia.org/show_bug.cgi?id=45861

--- Comment #38 from Volker Haas <[email protected]> ---
(In reply to comment #37)
> i do not think it's done - Reopening.
> (this is done based on the assumption that the fix is already deployed on
> enwiki. if it isn't deployed yet, please close again and let me know, so i
> can
> slap myself).
> 
> See page
> 
> https://en.wikipedia.org/wiki/User:
> %D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9/sandbox 
> 
> (if this page, which is a user sandbox, will lose its content anytime soon:
> the
> problematic content is a single {{chess diagram-fen}} on enwiki. no other
> content on the page) 
> 
> the page displays an image of chessboard and chess pieces, in game-opening
> stance. it's created by Lua, by placing several div-wrapped images on top of
> another image, using z-index and "position:absolute" in the style of the divs
> wrapping the pieces. 
> 
> the page shows the chess board with the pieces in opening stance. 
> the pdf seem to ignore image sizes (i.e., it scales the board image using
> different scaling factor than the one used for the pieces), and ignore the
> "position:absolute" (hence also the "top" and "left") style attributes of the
> divs wrapping the pieces.
> 
> as a side, i'll mention that this is an improvement over yesterday (or was
> it a
> day before?) when the pdf entirely missed all the images that were placed on
> the page by Lua code.
> 
> peace.

The bug you describe is not related to lua templates. The PDF rendering engine
ignores the position attribute of tags - therefore the output is probably not
what you would expect.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to