Skip to content

Instantly share code, notes, and snippets.

View onemanbucket's full-sized avatar

Erik Lindblad onemanbucket

  • Spotify
  • Stockholm
View GitHub Profile
Jenkins Evolutions
Toomas Römer (dow.ngra.de / @toomasr )
---
Test -> CI -> CD
Why evolutions:
* authentication
* auth
* logging
* notify
@onemanbucket
onemanbucket / gist:1892045
Created February 23, 2012 10:01
outerSize() on input with type=hidden should be 0 (jquery bug)
This is the commit in question: https://github.com/jquery/jquery/commit/80ad14bd14467c547c2867f2677ca581aa29bf33
JSfiddle example: http://jsfiddle.net/jL7Lr/
When setting a padding on INPUT, this css rule gets taken into account when using outerWidth() on input elements with type="hidden".
Browsers don't seem to honor padding on hidden type inputs when rendering the page so this seems like a bug to me!
package default;
import junit.framework.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
~/workspace/envoy (:master) $ bazel build -c dbg //source/exe:envoy-static --sandbox_debug --verbose_failures ⏎
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/home/erili/workspace/envoy/tools/bazel.rc
DEBUG: /home/erili/.cache/bazel/_bazel_erili/5c4279c24c6b680e09619036f142f1c0/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:100:9: rbe_ubuntu_clang_gen not using checked in configs as user set attr to 'False'
DEBUG: /home/erili/.cache/bazel/_bazel_erili/5c4279c24c6b680e09619036f142f1c0/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:125:9: rbe_ubuntu_clang not using checked in configs; Bazel version 0.25.0 was picked/selected but no checked in config was found in map {"0.28.1": ["clang", "clang_libcxx", "gcc"]}
DEBUG: /home/erili/.cache/bazel/_bazel_erili/5c4279c24c6b680e09619036f142f1c0/external/baz
~/workspace/envoy (:master) $ bazel build //source/exe:envoy-static
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/home/erili/workspace/envoy/tools/bazel.rc
INFO: Writing tracer profile to '/home/erili/.cache/bazel/_bazel_erili/5c4279c24c6b680e09619036f142f1c0/command.profile.gz'
INFO: Build option --compilation_mode has changed, discarding analysis cache.
INFO: Analyzed target //source/exe:envoy-static (0 packages loaded, 19152 targets configured).
INFO: Found 1 target...
INFO: From CcCmakeMakeRule external/envoy/bazel/foreign_cc/zlib/include:
INFO: From CcCmakeMakeRule external/envoy/bazel/foreign_cc/yaml/include: