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

--- Comment #2 from Bartosz DziewoƄski <matma....@gmail.com> ---
getDimensions indeed returns weird values for elements that have margin-left
larger than their computed width.

Correct (for some other menu):      BROKEN:
{                                   {
  "borders": {                        "borders": {
    "bottom": 0,                        "bottom": 0,
    "left": 0,                          "left": 0,
    "right": 0,                         "right": 0,
    "top": 0                            "top": 0
  },                                  },
  "rect": {                           "rect": {
    "bottom": 396.984375,               "bottom": 438.984375,
    "height": 41,                       "height": 38,
    "left": 257.5,                      "left": 1747,
    "right": 382.5,                     "right": 1747,
    "top": 355.984375,                  "top": 400.984375,
    "width": 125                        "width": 0
  },                                  },
  "scroll": {                         "scroll": {
    "left": 0,                          "left": 0,
    "top": 0                            "top": 0
  },                                  },
  "scrollbar": {                      "scrollbar": {
    "bottom": 0,                        "bottom": 0,
    "right": 0                          "right": 0
  }                                   }
}                                   }

rect.left and rect.right are equal (and incorrect) and rect.width is 0.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to