Skins: Can't use multiple or inset box-shadow properties on development only

Description

Originally reported on Google Code with ID 4088
What archive revision are you testing on? (See the version label in
the footer, for example v0.8.13.8.)
otwarchive v0.9.23.2

If appropriate, enter the URL of a page where the problem can be seen:

What steps will reproduce the problem?
1. While running the Archive with Vagrant, on your webdev, or locally, log in
2. Hi, username! > My Dashboard > Skins > Create Site Skin
3. Fill in the Title field with the title of your choosing
4. Fill in the CSS field with:

5. Submit

What is the expected output? What do you see instead?
A skin should be created. Instead, get an error message. This does not occur on production
or staging.

Error message:

Sorry! We couldn't save this skin because:

The box-shadow property in li cannot have the value inset 0 0 0 1px #dadada, sorry!
There don't seem to be any rules for li
The box-shadow property in li.blurb cannot have the value 5px 5px 5px black, 0 0 0
1px #dadada, sorry!
There don't seem to be any rules for li.blurb

There will be a pending rspec test for this once is merged.

Activity

Show:
enigel lj
October 3, 2014, 1:52 PM
  • *Labels added*: Milestone-Internal0.9

lady.oscar.ao3
August 22, 2015, 9:26 PM
  • *Labels added*: Keep-Meeting

Sarken
October 18, 2019, 1:44 AM
Edited

I made a new skin with the CSS from Reversi, which has a bunch of box-shadows, including at least one multiple (box-shadow: inset 0 -8px 4px #232323, inset 0 8px 7px #555;). It saved without errors.

Looks good!

redsummernight
October 19, 2019, 3:44 AM

I made a new skin with:

"Skin was successfully created." Then I used it, and the site looks as horrible as I expected. (The issue) looks good!

DeployedToBeta

Assignee

Tal Hayon

Reporter

Sarken

Roadmap

Skins

Priority

Low

Affects versions

None

Fix versions

Components

BackEnd

Difficulty

Medium

Milestone

Internal 0.9

Google Code Issue ID

4088
Configure