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

--- Comment #16 from Bartosz DziewoƄski <[email protected]> ---
(In reply to comment #15)
> If a layout has a shadow that looks bad when the layout is flipped the shadow
> is likely overkill. For example a shadow on an element that touches the edges
> of the window (such as the sidebar) would act wrong if the sidebar is on the
> right, but the shadow is going to the bottom right still.

While you might be right (and I'm no designer to discuss it), this is off the
topic here. We're talking merely about enabling such a possibility; how it
shall be used (or not) in MW core is the subject of different bugs and
different changesets.

Just because a feature could be misused doesn't mean it may not be implemented.
I mean, even templates in wikitext can be misused and cause pages to stop
rendering, and yet we allow them (while working on the particular misuses by
replacing them with Lua modules).


> However the most common and proper use of shadows is where the target element
> itself is free of the window edges. For example:
> - Floating elements inside the content area
> - Text shadow
> - Modal dialogs
> 
> In those cases the layout is not malformed or visibly broken (e.g. cut off)
> if
> the layout is flipped but not the shadows.

This be understood the other way as well - flipping the shadows won't break the
layout in those cases, either.


Krinkle, I'd be happy to have this as a opt-in feature (needing an /*
@annotation */ to enable shadow flipping, disabled by default) if you volunteer
to implement it. Otherwise, if you have no major objections, I'm asking you to
reconsider the revert.

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

Reply via email to