https://bugzilla.wikimedia.org/show_bug.cgi?id=45677
--- Comment #17 from Krinkle <[email protected]> --- (In reply to comment #16) > (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 [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. True, but if the only use case for a feature is a misuse, then it does not make sense to implement it, would you agree? > 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). > Off topic. > Krinkle, I'd be happy to have this as a opt-in feature (needing an /* > @annotation */ to enable shadow flipping, disabled by default) I'm pretty sure that adding options for this will solve nothing but allow the developer to make things inconsistent and flip or don't flip based on personal preference which means the same situations will sometimes be flipped and sometimes not based on the developer's decision, that I will not support. > > 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. Indeed, in the most common case the shadows will not look broken both when they're flipped and when they're not flipped. So, then. If the use case I pointed out as misuse is not the use case you push to enable flipping, then what is? When would you enable flipping for a shadow, and why? -- 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
